Kapt is no longer run automatically when build is run.

This commit is contained in:
Clinton Alexander 2017-03-14 14:44:13 +00:00
parent 18e4620928
commit f7b38f77d0

View File

@ -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) }