Slackbot
10/03/2023, 7:19 AMThomas Broyer
10/03/2023, 7:24 AMpluginManager.withPlugin("org.jetbrains.kotlin.jvm") {
project.configure<KotlinJvmOptions> { … }
}
but the idiomatic way is to avoid subprojects
and instead make convention plugins that you apply to each project. That way, applying your own Kotlin convention plugin would both apply the Kotlin plugin and configure it, all in one go.
https://docs.gradle.org/current/userguide/sharing_build_logic_between_subprojects.html#sec:convention_pluginsPeter
10/03/2023, 8:17 AM