Skip to content

Commit

Permalink
build(android): disable incremental builds for Kroll with kapt
Browse files Browse the repository at this point in the history
  • Loading branch information
ypbnv committed Jan 22, 2020
1 parent 138b992 commit 803c2cb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions android/templates/module/generated/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ tasks.withType(JavaCompile) {
}
}

// Titanium does not support incremental @Kroll annotation processing. Disable it in kotlin to avoid build warnings.
project.ext['kapt.incremental.apt'] = false

dependencies {
// This reads the code's @Kroll annotations and generates code which interops between V8 and proxy classes.
def krollAptJarPath = '<%- krollAptJarPath.replace(/\\/g, '\\\\') %>'
Expand Down

0 comments on commit 803c2cb

Please sign in to comment.