Migrate to kapt
This commit is contained in:
parent
a78007dfdc
commit
709f6b4078
1 changed files with 4 additions and 6 deletions
|
@ -17,7 +17,6 @@ buildscript {
|
|||
classpath 'com.android.tools.build:gradle:2.1.2'
|
||||
classpath 'de.felixschulze.gradle:gradle-spoon-plugin:2.7.3'
|
||||
classpath 'com.github.ben-manes:gradle-versions-plugin:0.12.0'
|
||||
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
|
||||
classpath 'de.mobilej.unmock:UnMockPlugin:0.5.0'
|
||||
|
||||
// http://stackoverflow.com/a/33889117/322642
|
||||
|
@ -29,7 +28,6 @@ apply plugin: 'android-sdk-manager'
|
|||
apply plugin: 'com.android.application'
|
||||
apply plugin: 'de.felixschulze.gradle.spoon'
|
||||
apply plugin: 'kotlin-android'
|
||||
apply plugin: 'com.neenbedankt.android-apt'
|
||||
apply plugin: 'de.mobilej.unmock'
|
||||
apply plugin: 'com.github.ben-manes.versions'
|
||||
|
||||
|
@ -113,12 +111,12 @@ android {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
apt "com.google.dagger:dagger-compiler:$dagger_version"
|
||||
apt "com.jakewharton:butterknife-compiler:$butterknife_version"
|
||||
kapt "com.google.dagger:dagger-compiler:$dagger_version"
|
||||
kapt "com.jakewharton:butterknife-compiler:$butterknife_version"
|
||||
|
||||
provided 'org.glassfish:javax.annotation:10.0-b28'
|
||||
|
||||
androidTestApt "com.google.dagger:dagger-compiler:$dagger_version"
|
||||
kaptAndroidTest "com.google.dagger:dagger-compiler:$dagger_version"
|
||||
androidTestCompile "com.android.support:support-v4:$support_version"
|
||||
androidTestCompile "com.android.support:support-annotations:$support_version"
|
||||
|
||||
|
@ -192,7 +190,7 @@ dependencies {
|
|||
withMapsCompile "com.google.android.gms:play-services-maps:$play_version"
|
||||
|
||||
compile 'com.github.hotchemi:permissionsdispatcher:2.1.3'
|
||||
apt 'com.github.hotchemi:permissionsdispatcher-processor:2.1.3'
|
||||
kapt 'com.github.hotchemi:permissionsdispatcher-processor:2.1.3'
|
||||
}
|
||||
|
||||
spoon {
|
||||
|
|
Loading…
Reference in a new issue