Browse Source

Components. Fix `KotlinSourceSet with name 'androidTest' not found.` on Kotlin 1.9.0

FAILURE: Build failed with an exception.
* Where:
Build file '/mnt/agent/work/eef8b9c316a53dd6/components/resources/library/build.gradle.kts' line: 66
`androidTest` was deprecated: https://kotlinlang.org/docs/whatsnew18.html#kotlin-multiplatform-a-new-android-source-set-layout

* What went wrong:
KotlinSourceSet with name 'androidTest' not found.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 24s
Process exited with code 1

See https://teamcity.jetbrains.com/buildConfiguration/JetBrainsPublicProjects_Compose_Publish_2_AllGitHubRelease/4237033?buildTab=dependencies&mode=list&state=failed&type=snapshot&hideProblemsFromDependencies=false&hideTestsFromDependencies=false&expandBuildProblemsSection=true#4237024

## Testing
./gradlew resources:library:test
pull/3376/head
Igor Demin 1 year ago
parent
commit
1d0e8ded91
  1. 2
      components/resources/library/build.gradle.kts

2
components/resources/library/build.gradle.kts

@ -63,7 +63,7 @@ kotlin {
dependsOn(jvmAndAndroidMain)
dependsOn(commonButJSMain)
}
val androidTest by getting {
val androidUnitTest by getting {
dependencies {
}

Loading…
Cancel
Save