Skip to content

Commit 33fbf92

Browse files
authored
Update gradle version to 8.1 (#319)
* Updated Gradle version to 8.1. This was necessary as part of preparation of kotlinx.atomicfu for K2. Expected Gradle version to be compatible with K2 is 8.3, so it was decided to steadily update Gradle version first on develop and then try out the 8.3-nightly version in k2/dev branch. * Removed deprecated experimentalWarning from kotlinDslOptions.
1 parent 4c12083 commit 33fbf92

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

build.gradle

+3-2
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ allprojects {
7373
// This fixes "org.gradle.jvm.version" in Gradle metadata
7474
plugins.withType(JavaPlugin) {
7575
java {
76-
sourceCompatibility = JavaVersion.VERSION_1_8
77-
targetCompatibility = JavaVersion.VERSION_1_8
76+
toolchain {
77+
languageVersion.set(JavaLanguageVersion.of(8))
78+
}
7879
}
7980
}
8081
}

buildSrc/build.gradle.kts

-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,3 @@ plugins {
88
repositories {
99
mavenCentral()
1010
}
11-
12-
kotlinDslPluginOptions {
13-
experimentalWarning.set(false)
14-
}

gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-all.zip

0 commit comments

Comments
 (0)