Skip to content

Commit

Permalink
Turn on all the kapt options
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbanes committed May 31, 2019
1 parent 88f282f commit c844912
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@ ext {
apply plugin: 'com.android.application'

apply plugin: 'kotlin-android'

apply plugin: 'kotlin-kapt'
kapt {
correctErrorTypes = true
useBuildCache = true
}

apply plugin: 'kotlin-android-extensions'
androidExtensions {
experimental = true
Expand Down
5 changes: 5 additions & 0 deletions data-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ import app.tivi.buildsrc.Libs
apply plugin: 'com.android.library'

apply plugin: 'kotlin-android'

apply plugin: 'kotlin-kapt'
kapt {
correctErrorTypes = true
useBuildCache = true
}

android {
compileSdkVersion buildConfig.compileSdk
Expand Down
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@ org.gradle.jvmargs=-Xmx1g

# All kapt to use workers
kapt.use.worker.api=true
kapt.incremental.apt=true
kapt.include.compile.classpath=false
5 changes: 5 additions & 0 deletions tasks/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ import app.tivi.buildsrc.Libs
apply plugin: 'com.android.library'

apply plugin: 'kotlin-android'

apply plugin: 'kotlin-kapt'
kapt {
correctErrorTypes = true
useBuildCache = true
}

android {
compileSdkVersion buildConfig.compileSdk
Expand Down
5 changes: 5 additions & 0 deletions tmdb/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@
import app.tivi.buildsrc.Libs

apply plugin: 'kotlin'

apply plugin: 'kotlin-kapt'
kapt {
correctErrorTypes = true
useBuildCache = true
}

dependencies {
implementation project(":base")
Expand Down
5 changes: 5 additions & 0 deletions trakt-auth/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ import app.tivi.buildsrc.Libs
apply plugin: 'com.android.library'

apply plugin: 'kotlin-android'

apply plugin: 'kotlin-kapt'
kapt {
correctErrorTypes = true
useBuildCache = true
}

android {
compileSdkVersion buildConfig.compileSdk
Expand Down

0 comments on commit c844912

Please sign in to comment.