Flip Gradle plugin kotlin_module names
Now common SourceSet output will have '_common' suffix, while all variants will have the same name - '<module-name>.kotlin_module'. This change is required for KSP as short-term workaround, as they are using some internal properties/methods, which was mangled before this change and hard to access in different variants. ^KT-52138 Fixed
This commit is contained in:
+1
-1
@@ -100,7 +100,7 @@ class UpToDateIT : KGPBaseTest() {
|
||||
val originalPaths get() = originalCompilerCp.map { it.replace("\\", "/") }.joinToString(", ") { "'$it'" }
|
||||
|
||||
override fun initProject(project: TestProject) = with(project) {
|
||||
val pluginSuffix = "kotlin_gradle_plugin"
|
||||
val pluginSuffix = "kotlin_gradle_plugin_common"
|
||||
buildGradle.appendText(
|
||||
"\nafterEvaluate { println 'compiler_cp=' + compileKotlin.getDefaultCompilerClasspath\$$pluginSuffix().toList() }"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user