CLOVIS
04/13/2024, 7:49 PMkotlin {
jvm { withJava() }
sourceSets.commonMain.dependencies { … }
sourceSets.commonTest.dependencies { … }
}
and I'm getting
> Configure project :app
w: The following Kotlin source sets were configured but not added to any Kotlin compilation:
* commonMain
* commonTest
You can add a source set to a target's compilation by connecting it with the compilation's default source set using 'dependsOn'.
See <https://kotl.in/connecting-source-sets>
Did something change in the way platforms are declared? This should definitely generate a jvmMain
which depends on commonMain
.dmitriy.novozhilov
04/14/2024, 8:17 AMOliver.O
04/14/2024, 12:31 PMCLOVIS
04/14/2024, 12:32 PMOliver.O
04/14/2024, 12:38 PMCLOVIS
04/14/2024, 12:40 PMCLOVIS
04/14/2024, 12:41 PMOliver.O
04/14/2024, 12:45 PMCLOVIS
04/14/2024, 12:47 PMOliver.O
04/14/2024, 12:50 PMCLOVIS
04/14/2024, 1:05 PMOliver.O
04/14/2024, 1:27 PMbuildSrc
with regular custom-made plugins. Ok, if you call both variants convention plugins I have misunderstood your project. Then the next thing I’d assume causing this is Gradle’s lazy evaluation which makes reasoning about what’s available when so hard.tapchicoma
04/15/2024, 3:17 PMCLOVIS
04/15/2024, 3:18 PMtapchicoma
04/15/2024, 3:25 PMCLOVIS
04/15/2024, 3:29 PMtapchicoma
04/15/2024, 3:31 PMCLOVIS
04/15/2024, 3:31 PMgit clone <https://gitlab.com/opensavvy/automation/gradle-conventions.git>
cd gradle-conventions
git switch k2
./gradlew -p examples/kotlin --include-build ../.. app:run --scan
Sorry for the invocation method, this is a canary build used to test new plugin versionsCLOVIS
04/15/2024, 3:31 PMCLOVIS
04/15/2024, 3:32 PMCLOVIS
04/15/2024, 3:33 PMCLOVIS
04/15/2024, 3:33 PMtapchicoma
04/15/2024, 3:34 PMtapchicoma
04/15/2024, 3:34 PMCLOVIS
04/23/2024, 2:17 PM