File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,12 +91,14 @@ android {
9191 }
9292
9393 compileOptions {
94- sourceCompatibility = JavaVersion .VERSION_17
95- targetCompatibility = JavaVersion .VERSION_17
94+ sourceCompatibility = JavaVersion .VERSION_21
95+ targetCompatibility = JavaVersion .VERSION_21
9696 }
97+ }
9798
98- kotlinOptions {
99- jvmTarget = " 17"
99+ kotlin {
100+ compilerOptions {
101+ jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget .JVM_21 )
100102 }
101103}
102104
Original file line number Diff line number Diff line change @@ -31,12 +31,14 @@ android {
3131 }
3232
3333 compileOptions {
34- sourceCompatibility = JavaVersion .VERSION_17
35- targetCompatibility = JavaVersion .VERSION_17
34+ sourceCompatibility = JavaVersion .VERSION_21
35+ targetCompatibility = JavaVersion .VERSION_21
3636 }
37+ }
3738
38- kotlinOptions {
39- jvmTarget = " 17"
39+ kotlin {
40+ compilerOptions {
41+ jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget .JVM_21 )
4042 }
4143}
4244
Original file line number Diff line number Diff line change @@ -25,12 +25,14 @@ android {
2525 }
2626
2727 compileOptions {
28- sourceCompatibility = JavaVersion .VERSION_17
29- targetCompatibility = JavaVersion .VERSION_17
28+ sourceCompatibility = JavaVersion .VERSION_21
29+ targetCompatibility = JavaVersion .VERSION_21
3030 }
31+ }
3132
32- kotlinOptions {
33- jvmTarget = " 17"
33+ kotlin {
34+ compilerOptions {
35+ jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget .JVM_21 )
3436 }
3537}
3638
Original file line number Diff line number Diff line change @@ -30,19 +30,21 @@ android {
3030 }
3131
3232 compileOptions {
33- sourceCompatibility = JavaVersion .VERSION_17
34- targetCompatibility = JavaVersion .VERSION_17
35- }
36-
37- kotlinOptions {
38- jvmTarget = " 17"
33+ sourceCompatibility = JavaVersion .VERSION_21
34+ targetCompatibility = JavaVersion .VERSION_21
3935 }
4036
4137 sourceSets {
4238 maybeCreate(" main" ).java.srcDir(" src/main/kotlin" )
4339 }
4440}
4541
42+ kotlin {
43+ compilerOptions {
44+ jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget .JVM_21 )
45+ }
46+ }
47+
4648dependencies {
4749 implementation(project(" :common:utils" ))
4850 implementation(project(" :domain" ))
Original file line number Diff line number Diff line change @@ -15,12 +15,14 @@ android {
1515 }
1616
1717 compileOptions {
18- sourceCompatibility = JavaVersion .VERSION_17
19- targetCompatibility = JavaVersion .VERSION_17
18+ sourceCompatibility = JavaVersion .VERSION_21
19+ targetCompatibility = JavaVersion .VERSION_21
2020 }
21+ }
2122
22- kotlinOptions {
23- jvmTarget = " 17"
23+ kotlin {
24+ compilerOptions {
25+ jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget .JVM_21 )
2426 }
2527}
2628
Original file line number Diff line number Diff line change 1+ # This file is generated by updateDaemonJvm
2+ toolchainUrl.FREE_BSD.AARCH64 =https\://api.foojay.io/disco/v3.0/ids/4945f00643ec68e7c7a6b66f90124f89/redirect
3+ toolchainUrl.FREE_BSD.X86_64 =https\://api.foojay.io/disco/v3.0/ids/93aeea858331bd6bb00ba94759830234/redirect
4+ toolchainUrl.LINUX.AARCH64 =https\://api.foojay.io/disco/v3.0/ids/4945f00643ec68e7c7a6b66f90124f89/redirect
5+ toolchainUrl.LINUX.X86_64 =https\://api.foojay.io/disco/v3.0/ids/b41931cf1e70bc8e08d7dd19c343ef00/redirect
6+ toolchainUrl.MAC_OS.AARCH64 =https\://api.foojay.io/disco/v3.0/ids/3426ffcaa54c3f62406beb1f1ab8b179/redirect
7+ toolchainUrl.MAC_OS.X86_64 =https\://api.foojay.io/disco/v3.0/ids/f636c800fdb3f9ae33f019dfa048ba72/redirect
8+ toolchainUrl.UNIX.AARCH64 =https\://api.foojay.io/disco/v3.0/ids/4945f00643ec68e7c7a6b66f90124f89/redirect
9+ toolchainUrl.UNIX.X86_64 =https\://api.foojay.io/disco/v3.0/ids/b41931cf1e70bc8e08d7dd19c343ef00/redirect
10+ toolchainUrl.WINDOWS.AARCH64 =https\://api.foojay.io/disco/v3.0/ids/1e91f45234d88a64dafb961c93ddc75a/redirect
11+ toolchainUrl.WINDOWS.X86_64 =https\://api.foojay.io/disco/v3.0/ids/552c7bffe0370c66410a51c55985b511/redirect
12+ toolchainVendor =ADOPTIUM
13+ toolchainVersion =21
Original file line number Diff line number Diff line change @@ -13,6 +13,11 @@ pluginManagement {
1313 gradlePluginPortal()
1414 }
1515}
16+
17+ plugins {
18+ id(" org.gradle.toolchains.foojay-resolver-convention" ) version " 1.0.0"
19+ }
20+
1621dependencyResolutionManagement {
1722 repositoriesMode.set(RepositoriesMode .FAIL_ON_PROJECT_REPOS )
1823 repositories {
You can’t perform that action at this time.
0 commit comments