From f7b38f77d0fcd330c43779c81ef3d593af400bf1 Mon Sep 17 00:00:00 2001 From: Clinton Alexander Date: Tue, 14 Mar 2017 14:44:13 +0000 Subject: [PATCH] Kapt is no longer run automatically when build is run. --- node-schemas/build.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/node-schemas/build.gradle b/node-schemas/build.gradle index f3562e4d38..d67ea02d49 100644 --- a/node-schemas/build.gradle +++ b/node-schemas/build.gradle @@ -33,3 +33,6 @@ dependencies { // For H2 database support in persistence testCompile "com.h2database:h2:1.4.193" } + +// Remove the dependency on compile in kapt to avoid automatic kapt running - run :node-schemas:kaptKotlin explicitly. +project.afterEvaluate { compileKotlin.dependsOn.remove(kaptKotlin) } \ No newline at end of file