@@ -266,8 +266,7 @@ class KotlinBuilder : ModuleLevelBuilder(BuilderCategory.SOURCE_PROCESSOR) {
|
|||||||
fsOperations: FSOperationsHelper
|
fsOperations: FSOperationsHelper
|
||||||
): ModuleLevelBuilder.ExitCode {
|
): ModuleLevelBuilder.ExitCode {
|
||||||
// Workaround for Android Studio
|
// Workaround for Android Studio
|
||||||
val isJsModule = representativeTarget is KotlinJsModuleBuildTarget
|
if (representativeTarget is KotlinJvmModuleBuildTarget && !JavaBuilder.IS_ENABLED[context, true]) {
|
||||||
if (!JavaBuilder.IS_ENABLED[context, true] && !isJsModule) {
|
|
||||||
messageCollector.report(INFO, "Kotlin JPS plugin is disabled")
|
messageCollector.report(INFO, "Kotlin JPS plugin is disabled")
|
||||||
return NOTHING_DONE
|
return NOTHING_DONE
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user