[ANY] Update gradle

This commit is contained in:
Gravita 2025-08-11 20:30:02 +07:00
parent 2c74375bd3
commit 2375bb5aa3
12 changed files with 47 additions and 21 deletions

View file

@ -22,8 +22,11 @@
} }
} }
sourceCompatibility = '21' java {
targetCompatibility = '21' toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
configurations { configurations {
bundleOnly bundleOnly
@ -112,6 +115,7 @@
bundle group: 'com.google.code.gson', name: 'gson', version: rootProject['verGson'] bundle group: 'com.google.code.gson', name: 'gson', version: rootProject['verGson']
annotationProcessor(group: 'org.apache.logging.log4j', name: 'log4j-core', version: rootProject['verLog4j']) annotationProcessor(group: 'org.apache.logging.log4j', name: 'log4j-core', version: rootProject['verLog4j'])
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter', version: rootProject['verJunit'] testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter', version: rootProject['verJunit']
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
bundle 'io.micrometer:micrometer-core:1.14.4' bundle 'io.micrometer:micrometer-core:1.14.4'
bundle('com.zaxxer:HikariCP:6.2.1') { bundle('com.zaxxer:HikariCP:6.2.1') {

View file

@ -7,8 +7,11 @@
url "https://repo.spring.io/plugins-release/" url "https://repo.spring.io/plugins-release/"
} }
} }
sourceCompatibility = '21' java {
targetCompatibility = '21' toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
configurations { configurations {
bundle bundle

View file

@ -1,9 +1,13 @@
sourceCompatibility = '21' java {
targetCompatibility = '21' toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
dependencies { dependencies {
api project(':LauncherCore') api project(':LauncherCore')
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter', version: rootProject['verJunit'] testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter', version: rootProject['verJunit']
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
} }
test { test {

View file

@ -7,8 +7,11 @@
url "https://repo.spring.io/plugins-release/" url "https://repo.spring.io/plugins-release/"
} }
} }
sourceCompatibility = '21' java {
targetCompatibility = '21' toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
jar { jar {
archiveClassifier.set('clean') archiveClassifier.set('clean')
@ -28,6 +31,7 @@
dependencies { dependencies {
implementation project(':LauncherAPI') implementation project(':LauncherAPI')
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
} }
publishing { publishing {

View file

@ -1,5 +1,8 @@
sourceCompatibility = '21' java {
targetCompatibility = '21' toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
dependencies { dependencies {
compileOnly group: 'org.fusesource.jansi', name: 'jansi', version: rootProject['verJansi'] compileOnly group: 'org.fusesource.jansi', name: 'jansi', version: rootProject['verJansi']
@ -12,6 +15,7 @@
testImplementation group: 'org.jline', name: 'jline', version: rootProject['verJline'] testImplementation group: 'org.jline', name: 'jline', version: rootProject['verJline']
testImplementation group: 'org.jline', name: 'jline-reader', version: rootProject['verJline'] testImplementation group: 'org.jline', name: 'jline-reader', version: rootProject['verJline']
testImplementation group: 'org.jline', name: 'jline-terminal', version: rootProject['verJline'] testImplementation group: 'org.jline', name: 'jline-terminal', version: rootProject['verJline']
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
} }
test { test {

View file

@ -8,8 +8,11 @@
url "https://repo.spring.io/plugins-release/" url "https://repo.spring.io/plugins-release/"
} }
} }
sourceCompatibility = '21' java {
targetCompatibility = '21' toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
jar { jar {
archiveClassifier.set('clean') archiveClassifier.set('clean')
@ -31,6 +34,7 @@
dependencies { dependencies {
implementation project(':LauncherAPI') implementation project(':LauncherAPI')
implementation project(':LauncherClient') implementation project(':LauncherClient')
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
} }
publishing { publishing {

View file

@ -14,8 +14,11 @@
} }
} }
sourceCompatibility = '21' java {
targetCompatibility = '21' toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
jar { jar {
archiveClassifier.set('clean') archiveClassifier.set('clean')

Binary file not shown.

View file

@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-all.zip
networkTimeout=10000 networkTimeout=10000
validateDistributionUrl=true validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME

6
gradlew vendored
View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
# #
# Copyright © 2015-2021 the original authors. # Copyright © 2015 the original authors.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
@ -114,7 +114,7 @@ case "$( uname )" in #(
NONSTOP* ) nonstop=true ;; NONSTOP* ) nonstop=true ;;
esac esac
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar CLASSPATH="\\\"\\\""
# Determine the Java command to use to start the JVM. # Determine the Java command to use to start the JVM.
@ -213,7 +213,7 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
set -- \ set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \ "-Dorg.gradle.appname=$APP_BASE_NAME" \
-classpath "$CLASSPATH" \ -classpath "$CLASSPATH" \
org.gradle.wrapper.GradleWrapperMain \ -jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
"$@" "$@"
# Stop when "xargs" is not available. # Stop when "xargs" is not available.

4
gradlew.bat vendored
View file

@ -70,11 +70,11 @@ goto fail
:execute :execute
@rem Setup the command line @rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar set CLASSPATH=
@rem Execute Gradle @rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
:end :end
@rem End local scope for the variables with windows NT shell @rem End local scope for the variables with windows NT shell

@ -1 +1 @@
Subproject commit e6b8af9b107ea8c7dab4fc5968cfd0cff05b7d61 Subproject commit 57ac09fcd56007f7c80314a6652815d5e99d3be7