From 6838873a93f2fc33ccdbaea5788e08fc154ac2d1 Mon Sep 17 00:00:00 2001 From: Ilya Chernikov Date: Thu, 1 Mar 2018 18:37:54 +0100 Subject: [PATCH] Fix local build problem - task `compileJava` not found The problem is happening because our plugin deletes the task from common projects, which may lead to such errors. The proper fix is planned in our gradle plugin. --- libraries/kotlin.test/common/build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/kotlin.test/common/build.gradle b/libraries/kotlin.test/common/build.gradle index 8939d4a251f..5daf04f8d25 100644 --- a/libraries/kotlin.test/common/build.gradle +++ b/libraries/kotlin.test/common/build.gradle @@ -20,6 +20,8 @@ task sourcesJar(type: Jar, dependsOn: classes) { from sourceSets.main.kotlin } +classes.dependsOn.remove("compileJava") + artifacts { archives sourcesJar archives javadocJar