-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
The workaround for KT-53477 (which applies to not just Native compilation) should be added by default to the Gradle plugin. This makes it possible to add dependencies to the compiler plugin, and not be surprised when they're inaccessible after release. The workaround can eventually be removed when the issue is resolved.
I've added in the gradle plugin like so (will open a PR soon):
override fun applyToCompilation(
kotlinCompilation: KotlinCompilation<*>
): Provider<List<SubpluginOption>> {
val project = kotlinCompilation.target.project
// KT-53477 workaround
project.configurations.matching {
it.name.startsWith("kotlin") && it.name.contains("CompilerPluginClasspath")
}.all {
it.isTransitive = true
}
...
}Metadata
Metadata
Assignees
Labels
No labels