Skip to content

Commit 40b186d

Browse files
committed
Update to Gradle 8.13
1 parent f77d835 commit 40b186d

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

buildSrc/build.gradle.kts

+3-2
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,18 @@
1818
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1919
*/
2020

21+
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2122
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2223

2324
plugins {
2425
`kotlin-dsl`
2526
}
2627

2728
tasks.withType<JavaCompile>().configureEach {
28-
options.release.set(8)
29+
options.release.set(17)
2930
}
3031
tasks.withType<KotlinCompile>().configureEach {
31-
kotlinOptions.jvmTarget = "1.8"
32+
compilerOptions.jvmTarget = JvmTarget.JVM_17
3233
}
3334

3435
repositories {

gradle/wrapper/gradle-wrapper.jar

201 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

+2-3
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ done
8686
# shellcheck disable=SC2034
8787
APP_BASE_NAME=${0##*/}
8888
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89-
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90-
' "$PWD" ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
9190

9291
# Use the maximum available, or set MAX_FD != -1 to use that value.
9392
MAX_FD=maximum
@@ -206,7 +205,7 @@ fi
206205
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
207206

208207
# Collect all arguments for the java command:
209-
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
208+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
210209
# and any embedded shellness will be escaped.
211210
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
212211
# treated as '${Hostname}' itself on the command line.

0 commit comments

Comments
 (0)