Skip to content

Commit

Permalink
Configuring kapt for 1.1.2-x version
Browse files Browse the repository at this point in the history
  • Loading branch information
juanchosaravia committed Jun 8, 2017
1 parent 6b85b65 commit cb4725b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'

android {
compileSdkVersion 25
Expand All @@ -23,9 +24,7 @@ android {
main.java.srcDirs += 'src/main/kotlin'
}
}
kapt {
generateStubs = true
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:25.3.1'
Expand All @@ -44,8 +43,8 @@ dependencies {
compile 'com.squareup.retrofit2:converter-moshi:2.0.0'

// Dagger 2
compile 'com.google.dagger:dagger:2.4'
kapt 'com.google.dagger:dagger-compiler:2.4'
compile 'com.google.dagger:dagger:2.11'
kapt 'com.google.dagger:dagger-compiler:2.11'
provided 'org.glassfish:javax.annotation:10.0-b28'

// Tests
Expand Down

0 comments on commit cb4725b

Please sign in to comment.