Skip to content

Commit

Permalink
release version 2.2.27.4-1.1.0
Browse files Browse the repository at this point in the history
update readme
fix resource visibility in module-info.java
add lib/libjxtp.dylib to .gitignore
  • Loading branch information
RationalityFrontline committed Apr 22, 2021
1 parent e9f475c commit 2e4e183
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
cpp/src/jxtp.*
lib/jxtp.dll
lib/libjxtp.so
lib/libjxtp.dylib
*.java
!module-info.java
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# JXTP
[![Maven Central](https://img.shields.io/maven-central/v/org.rationalityfrontline/jxtp.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22org.rationalityfrontline%22%20AND%20a:%22jxtp%22) ![platform](https://img.shields.io/badge/platform-windows%7Clinux-green) [![Apache License 2.0](https://img.shields.io/github/license/rationalityfrontline/jxtp)](https://github.com/RationalityFrontline/jxtp/blob/master/LICENSE)
[![Maven Central](https://img.shields.io/maven-central/v/org.rationalityfrontline/jxtp.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22org.rationalityfrontline%22%20AND%20a:%22jxtp%22) ![platform](https://img.shields.io/badge/platform-windows%7Clinux%7Cmac-green) [![Apache License 2.0](https://img.shields.io/github/license/rationalityfrontline/jxtp)](https://github.com/RationalityFrontline/jxtp/blob/master/LICENSE)

基于 [SWIG](http://www.swig.org/) 实现的对[中泰证券](https://xtp.zts.com.cn/) XTP 的封装。当前封装版本为 2.2.27.4,支持 64 位的 Windows Linux 操作系统,动态链接库已被包含至 jar 包内,并在类加载时自动 loadLibrary,只需添加 jar 包即可直接使用。
基于 [SWIG](http://www.swig.org/) 实现的对[中泰证券](https://xtp.zts.com.cn/) XTP 的封装。当前封装版本为 2.2.27.4,支持 64 位的 Windows | Linux | Mac 操作系统,动态链接库已被包含至 jar 包内,并在类加载时自动 loadLibrary,只需添加 jar 包即可直接使用。

## Usage

Expand Down Expand Up @@ -34,7 +34,7 @@ repositories {
}

dependencies {
implementation("org.rationalityfrontline:jxtp:2.2.27.4-1.0.0")
implementation("org.rationalityfrontline:jxtp:2.2.27.4-1.1.0")
}
```

Expand All @@ -44,7 +44,7 @@ dependencies {
<dependency>
<groupId>org.rationalityfrontline</groupId>
<artifactId>jxtp</artifactId>
<version>2.2.27.4-1.0.0</version>
<version>2.2.27.4-1.1.0</version>
</dependency>
```
**Jar:**
Expand Down Expand Up @@ -73,7 +73,7 @@ dependencies {
build.cmd
```

**Linux**
**Linux | Mac**

```bash
./build.sh
Expand Down
2 changes: 1 addition & 1 deletion java/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group = "org.rationalityfrontline"
version = "2.2.27.4-1.0.0"
version = "2.2.27.4-1.1.0"
val NAME = project.name
val DESC = "Java wrapper for XTP"
val GITHUB_REPO = "RationalityFrontline/jxtp"
Expand Down
3 changes: 3 additions & 0 deletions java/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
module jxtp {
requires org.scijava.nativelib;
exports org.rationalityfrontline.jxtp;
opens natives.windows_64;
opens natives.linux_64;
opens natives.osx_64;
}

0 comments on commit 2e4e183

Please sign in to comment.