Vlad
10/26/2023, 12:49 PMvide
10/26/2023, 1:33 PM./gradlew dependencies
?Vlad
10/26/2023, 1:35 PMExecution failed for task ':buildSrc:compileKotlin'.
> Error while evaluating property 'compilerOptions.jvmTarget' of task ':buildSrc:compileKotlin'.
> Failed to calculate the value of property 'jvmTarget'.
> Unknown Kotlin JVM target: 20
Vlad
10/26/2023, 1:35 PMvide
10/26/2023, 1:38 PMVlad
10/26/2023, 1:38 PMVlad
10/26/2023, 1:40 PMVlad
10/26/2023, 1:43 PMkotlin {
jvmToolchain(11)
}
for the build.gradle for the buildSrc module and managed to run ./gradlew dependencies
ascii
10/26/2023, 2:12 PMVlad
10/26/2023, 2:13 PMVlad
10/26/2023, 2:14 PMextra["compose.version"]
is 1.5.3.ascii
10/26/2023, 2:21 PMVlad
10/26/2023, 2:22 PMwith (compose) {
implementation(runtime)
implementation(foundation)
implementation(material3)
@OptIn(org.jetbrains.compose.ExperimentalComposeLibrary::class)
implementation(components.resources)
}
So probably shouldn't be affected?ascii
10/26/2023, 2:23 PMVlad
10/26/2023, 2:23 PMVlad
10/26/2023, 2:23 PMascii
10/26/2023, 2:23 PMVlad
10/26/2023, 2:24 PMVlad
10/26/2023, 2:24 PMVlad
10/26/2023, 2:46 PMkotlin {
jvmToolchain(11)
}
that enabled ./gradlew dependencies
(Thanks Alias).
Then playing with ./gradlew shared:dependencies
I found that I use some weird dependencies. One of them was low version and there was update to one with 1.9 kotlin support. And activityCompose dependency was too high and conflicting with my buildSdk 33.
Now I am past of the initial errors, and dealing with others, not related to compose.