Skip to content

Commit

Permalink
build: 2.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
cssxsh committed Apr 27, 2024
1 parent 33519b5 commit 2f224d2
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
## 2.8.0 (23/09/..)
## 2.8.1 (24/04/27)

1. update: hibernate-orm 6.4.8.Final
2. update: ci
3. update: jdbc driver

## 2.8.0 (24/01/23)

1. update: dependency
2. fix: face record tags
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@

* `com.mysql:mysql-connector-j:8.3.0` - [mysql.hibernate.properties](example/mysql.hibernate.properties)
* `org.mariadb.jdbc:mariadb-java-client:3.3.3` - [mariadb.hibernate.properties](example/mariadb.hibernate.properties)
* `org.xerial:sqlite-jdbc:3.45.1.0` - [sqlite.hibernate.properties](example/sqlite.hibernate.properties)
* `org.postgresql:postgresql:42.7.2` - [postgresql.hibernate.properties](example/postgresql.hibernate.properties)
* `org.xerial:sqlite-jdbc:3.45.3.0` - [sqlite.hibernate.properties](example/sqlite.hibernate.properties)
* `org.postgresql:postgresql:42.7.3` - [postgresql.hibernate.properties](example/postgresql.hibernate.properties)
* `com.h2database:h2:2.2.224` - [h2.hibernate.properties](example/h2.hibernate.properties)
* `com.microsoft.sqlserver:mssql-jdbc:12.6.1.jre11` - [sqlserver.hibernate.properties](example/sqlserver.hibernate.properties)
* `com.zaxxer:HikariCP:5.0.1`
Expand Down
5 changes: 4 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
}

group = "xyz.cssxsh.mirai"
version = "2.8.0"
version = "2.8.1"

mavenCentralPublish {
useCentralS01()
Expand Down Expand Up @@ -57,6 +57,9 @@ dependencies {

mirai {
jvmTarget = JavaVersion.VERSION_11
if (System.getenv("CI").toBoolean()) {
useTestConsoleFrontEnd = null
}
}

kotlin {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ internal object MiraiHibernatePlugin : KotlinPlugin(
JvmPluginDescription(
id = "xyz.cssxsh.mirai.plugin.mirai-hibernate-plugin",
name = "mirai-hibernate-plugin",
version = "2.8.0"
version = "2.8.1"
) {
author("cssxsh")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ private const val SQLITE_JNI =
*/
public fun checkPlatform(folder: File) {
// Termux
if ("termux" in System.getProperty("user.dir")) {
logger.info { "change platform to Linux-Android" }
System.getenv("TERMUX_VERSION")?.let { version ->
logger.info { "change platform: Linux-Android/aarch64, for termux $version" }
System.setProperty("org.sqlite.lib.path", folder.path)
val lib = folder.resolve("libsqlitejdbc.so")
if (lib.exists().not()) {
Expand Down

0 comments on commit 2f224d2

Please sign in to comment.