From 63699f2a65ddb1ab9209f0e5fd59ea177a2639ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20Habarta?= Date: Fri, 5 Jan 2018 13:24:15 +0100 Subject: [PATCH] Gradle plugin: do not set dependency on `generateTypeScript` task (#161) --- .../generator/gradle/TypeScriptGeneratorPlugin.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/typescript-generator-gradle-plugin/src/main/java/cz/habarta/typescript/generator/gradle/TypeScriptGeneratorPlugin.java b/typescript-generator-gradle-plugin/src/main/java/cz/habarta/typescript/generator/gradle/TypeScriptGeneratorPlugin.java index 290791594..ccaeca0bc 100644 --- a/typescript-generator-gradle-plugin/src/main/java/cz/habarta/typescript/generator/gradle/TypeScriptGeneratorPlugin.java +++ b/typescript-generator-gradle-plugin/src/main/java/cz/habarta/typescript/generator/gradle/TypeScriptGeneratorPlugin.java @@ -16,9 +16,6 @@ public void apply(Project project) { generateTsTask.dependsOn(task.getName()); } } - - for (Task classesTask : project.getTasksByName("build", false)) { - classesTask.dependsOn(generateTsTask); - } } + }