File tree 3 files changed +12
-9
lines changed
src/main/kotlin/xyz/cssxsh/mirai/hibernate
3 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -28,15 +28,15 @@ repositories {
28
28
29
29
dependencies {
30
30
api(" com.zaxxer:HikariCP:5.1.0" )
31
- api(" com.h2database:h2:2.3.230 " )
32
- api(" org.xerial:sqlite-jdbc:3.46.0.1 " )
31
+ api(" com.h2database:h2:2.3.232 " )
32
+ api(" org.xerial:sqlite-jdbc:3.46.1.0 " )
33
33
api(" com.mysql:mysql-connector-j:9.0.0" )
34
34
api(" org.mariadb.jdbc:mariadb-java-client:3.4.1" )
35
- api(" org.postgresql:postgresql:42.7.3 " )
35
+ api(" org.postgresql:postgresql:42.7.4 " )
36
36
api(" org.reflections:reflections:0.10.2" )
37
37
compileOnly(" xyz.cssxsh.mirai:mirai-administrator:1.4.4" )
38
38
testImplementation(kotlin(" test" ))
39
- testImplementation(" com.microsoft.sqlserver:mssql-jdbc:12.8.0 .jre11" )
39
+ testImplementation(" com.microsoft.sqlserver:mssql-jdbc:12.8.1 .jre11" )
40
40
//
41
41
implementation(platform(" net.mamoe:mirai-bom:2.16.0" ))
42
42
compileOnly(" net.mamoe:mirai-core" )
Original file line number Diff line number Diff line change @@ -9,8 +9,11 @@ if exist "jdk-17.0.8+7" set JAVA_BINARY=".\jdk-17.0.8+7\bin\java.exe"
9
9
if exist " jdk-17.0.8+7-jre" set JAVA_BINARY = " .\jdk-17.0.8+7-jre\bin\java.exe"
10
10
11
11
set H2_JAR = " h2-2.2.222.jar"
12
- if exist " .\plugin-libraries\com\h2database\h2\2.1.222\h2-2.2.222.jar" set JAVA_BINARY = " .\plugin-libraries\com\h2database\h2\2.1.222\h2-2.2.222.jar"
13
- if exist " .\plugin-libraries\com\h2database\h2\2.1.214\h2-2.1.214.jar" set JAVA_BINARY = " .\plugin-libraries\com\h2database\h2\2.1.214\h2-2.1.214.jar"
12
+ if exist " .\plugin-libraries\com\h2database\h2\2.1.214\h2-2.1.214.jar" set H2_JAR = " .\plugin-libraries\com\h2database\h2\2.1.214\h2-2.1.214.jar"
13
+ if exist " .\plugin-libraries\com\h2database\h2\2.2.222\h2-2.2.222.jar" set H2_JAR = " .\plugin-libraries\com\h2database\h2\2.2.222\h2-2.2.222.jar"
14
+ if exist " .\plugin-libraries\com\h2database\h2\2.2.224\h2-2.2.224.jar" set H2_JAR = " .\plugin-libraries\com\h2database\h2\2.2.224\h2-2.2.224.jar"
15
+ if exist " .\plugin-libraries\com\h2database\h2\2.3.230\h2-2.3.230.jar" set H2_JAR = " .\plugin-libraries\com\h2database\h2\2.3.230\h2-2.3.230.jar"
16
+ if exist " .\plugin-libraries\com\h2database\h2\2.3.232\h2-2.3.232.jar" set H2_JAR = " .\plugin-libraries\com\h2database\h2\2.3.232\h2-2.3.232.jar"
14
17
15
18
%JAVA_BINARY% -version
16
19
%JAVA_BINARY% -jar %H2_JAR% -url jdbc:h2:./data/xyz.cssxsh.mirai.plugin.mirai-hibernate-plugin/hibernate.h2;AUTO_SERVER=TRUE %*
Original file line number Diff line number Diff line change @@ -60,9 +60,9 @@ internal fun mssql(): String {
60
60
val java = System .getProperty(" java.version" )
61
61
// val version = System.getProperty("xyz.cssxsh.mirai.hibernate.mssql.version", "11.2.3")
62
62
return when {
63
- java.startsWith(" 17" ) -> " com.microsoft.sqlserver:mssql-jdbc:12.8.0 .jre11"
64
- java.startsWith(" 11" ) -> " com.microsoft.sqlserver:mssql-jdbc:12.8.0 .jre11"
65
- java.startsWith(" 8" ) -> " com.microsoft.sqlserver:mssql-jdbc:12.8.0 .jre8"
63
+ java.startsWith(" 17" ) -> " com.microsoft.sqlserver:mssql-jdbc:12.8.1 .jre11"
64
+ java.startsWith(" 11" ) -> " com.microsoft.sqlserver:mssql-jdbc:12.8.1 .jre11"
65
+ java.startsWith(" 8" ) -> " com.microsoft.sqlserver:mssql-jdbc:12.8.1 .jre8"
66
66
else -> " com.microsoft.sqlserver:mssql-jdbc:12.8.0.jre11"
67
67
}
68
68
}
You can’t perform that action at this time.
0 commit comments