diff --git a/examples/codeviewer/common/build.gradle.kts b/examples/codeviewer/common/build.gradle.kts index c831fa0da2..f14bbb300b 100644 --- a/examples/codeviewer/common/build.gradle.kts +++ b/examples/codeviewer/common/build.gradle.kts @@ -36,12 +36,6 @@ kotlin { } } -project.extensions.findByType()!!.apply { - sourceSets.findByName("main")?.apply { - res.srcDirs("src/commonMain/resources") - } -} - android { compileSdkVersion(30) @@ -60,7 +54,7 @@ android { sourceSets { named("main") { manifest.srcFile("src/androidMain/AndroidManifest.xml") - res.srcDirs("src/androidMain/res") + res.srcDirs("src/androidMain/res", "src/commonMain/resources") } } }