Skip to content

Commit 97a24de

Browse files
committed
update: dependency
1 parent 078ab54 commit 97a24de

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

build.gradle.kts

+13-13
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins {
33
kotlin("plugin.jpa") version "1.8.22"
44
kotlin("plugin.serialization") version "1.8.22"
55

6-
id("net.mamoe.mirai-console") version "2.15.0"
6+
id("net.mamoe.mirai-console") version "2.16.0"
77
id("me.him188.maven-central-publish") version "1.0.0-dev-3"
88
}
99

@@ -27,29 +27,29 @@ repositories {
2727
}
2828

2929
dependencies {
30-
api("org.hibernate.orm:hibernate-core:6.3.0.Final")
31-
api("org.hibernate.orm:hibernate-hikaricp:6.3.0.Final")
32-
api("org.hibernate.orm:hibernate-community-dialects:6.3.0.Final")
33-
api("com.zaxxer:HikariCP:5.0.1")
34-
api("com.h2database:h2:2.2.222")
35-
api("org.xerial:sqlite-jdbc:3.43.0.0")
36-
api("com.mysql:mysql-connector-j:8.1.0")
37-
api("org.mariadb.jdbc:mariadb-java-client:3.2.0")
38-
api("org.postgresql:postgresql:42.6.0")
30+
api("org.hibernate.orm:hibernate-core:6.4.2.Final")
31+
api("org.hibernate.orm:hibernate-hikaricp:6.4.2.Final")
32+
api("org.hibernate.orm:hibernate-community-dialects:6.4.2.Final")
33+
api("com.zaxxer:HikariCP:5.1.0")
34+
api("com.h2database:h2:2.2.224")
35+
api("org.xerial:sqlite-jdbc:3.45.0.0")
36+
api("com.mysql:mysql-connector-j:8.3.0")
37+
api("org.mariadb.jdbc:mariadb-java-client:3.3.2")
38+
api("org.postgresql:postgresql:42.7.1")
3939
api("org.reflections:reflections:0.10.2")
4040
compileOnly("xyz.cssxsh.mirai:mirai-administrator:1.4.0")
4141
testImplementation(kotlin("test"))
42-
testImplementation("com.microsoft.sqlserver:mssql-jdbc:12.4.1.jre11")
42+
testImplementation("com.microsoft.sqlserver:mssql-jdbc:12.4.2.jre11")
4343
//
44-
implementation(platform("net.mamoe:mirai-bom:2.15.0"))
44+
implementation(platform("net.mamoe:mirai-bom:2.16.0"))
4545
compileOnly("net.mamoe:mirai-core")
4646
compileOnly("net.mamoe:mirai-core-utils")
4747
testImplementation("net.mamoe:mirai-logging-slf4j")
4848
testImplementation("net.mamoe:mirai-core-mock")
4949
testImplementation("net.mamoe:mirai-core-utils")
5050
testImplementation("net.mamoe:mirai-console-compiler-common")
5151
//
52-
implementation(platform("org.slf4j:slf4j-parent:2.0.7"))
52+
implementation(platform("org.slf4j:slf4j-parent:2.0.11"))
5353
testImplementation("org.slf4j:slf4j-simple")
5454
}
5555

src/main/kotlin/xyz/cssxsh/mirai/hibernate/MiraiHibernateUtils.kt

+3-3
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ internal fun mssql(): String {
6262
val java = System.getProperty("java.version")
6363
// val version = System.getProperty("xyz.cssxsh.mirai.hibernate.mssql.version", "11.2.3")
6464
return when {
65-
java.startsWith("17") -> "com.microsoft.sqlserver:mssql-jdbc:12.4.1.jre11"
66-
java.startsWith("11") -> "com.microsoft.sqlserver:mssql-jdbc:12.4.1.jre11"
67-
else -> "com.microsoft.sqlserver:mssql-jdbc:12.4.1.jre8"
65+
java.startsWith("17") -> "com.microsoft.sqlserver:mssql-jdbc:12.4.2.jre11"
66+
java.startsWith("11") -> "com.microsoft.sqlserver:mssql-jdbc:12.4.2.jre11"
67+
else -> "com.microsoft.sqlserver:mssql-jdbc:12.4.2.jre8"
6868
}
6969
}
7070

0 commit comments

Comments
 (0)