File tree Expand file tree Collapse file tree 3 files changed +12
-17
lines changed Expand file tree Collapse file tree 3 files changed +12
-17
lines changed Original file line number Diff line number Diff line change @@ -23,19 +23,15 @@ android {
2323 }
2424 }
2525
26- compileOptions {
27- sourceCompatibility 1.8
28- targetCompatibility 1.8
29- }
30-
31- kotlinOptions {
32- jvmTarget = ' 1.8'
33- }
3426 buildFeatures {
3527 buildConfig true
3628 }
3729}
3830
31+ kotlin {
32+ jvmToolchain(17 )
33+ }
34+
3935dependencies {
4036 implementation libs. kotlin. stdlib
4137 implementation libs. androidx. core
Original file line number Diff line number Diff line change @@ -37,15 +37,6 @@ android {
3737 }
3838 }
3939
40- compileOptions {
41- sourceCompatibility 1.8
42- targetCompatibility 1.8
43- }
44-
45- kotlinOptions {
46- jvmTarget = ' 1.8'
47- }
48-
4940 testFixtures {
5041 enable = true
5142 }
@@ -57,6 +48,10 @@ android {
5748 }
5849}
5950
51+ kotlin {
52+ jvmToolchain(17 )
53+ }
54+
6055dependencies {
6156 implementation libs. kotlin. stdlib
6257 implementation libs. okio
Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ pluginManagement {
55 }
66}
77
8+ plugins {
9+ id ' org.gradle.toolchains.foojay-resolver-convention' version ' 0.5.0'
10+ }
11+
812dependencyResolutionManagement {
913 repositories {
1014 google()
You can’t perform that action at this time.
0 commit comments