diff options
author | Allan Wang <me@allanwang.ca> | 2017-06-29 10:12:18 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-06-29 10:12:18 -0700 |
commit | e5536a5fc17514d24a6cfc89c5f9b537720f58e3 (patch) | |
tree | 6f574358d9ce1dcfb43d496bce5809bba97a9041 /app/build.gradle | |
parent | 82e761f7cd7154a802f94971e8b731c2dfcd0880 (diff) | |
download | frost-e5536a5fc17514d24a6cfc89c5f9b537720f58e3.tar.gz frost-e5536a5fc17514d24a6cfc89c5f9b537720f58e3.tar.bz2 frost-e5536a5fc17514d24a6cfc89c5f9b537720f58e3.zip |
Test kapt dependencies
Diffstat (limited to 'app/build.gradle')
-rw-r--r-- | app/build.gradle | 28 |
1 files changed, 7 insertions, 21 deletions
diff --git a/app/build.gradle b/app/build.gradle index bdf3f831..4523c403 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,5 +1,6 @@ apply plugin: 'com.android.application' apply plugin: 'kotlin-android' +apply plugin: 'kotlin-kapt' apply plugin: 'io.fabric' android { @@ -85,9 +86,7 @@ dependencies { }) testCompile 'junit:junit:4.12' - compile("ca.allanwang:kau:${KAU}") { - exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib' - } + compile "ca.allanwang:kau:${KAU}" compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:${KOTLIN}" @@ -98,7 +97,6 @@ dependencies { compile "com.github.Raizlabs.DBFlow:dbflow:${DBFLOW}" compile "com.github.Raizlabs.DBFlow:dbflow-core:${DBFLOW}" - annotationProcessor "com.github.Raizlabs.DBFlow:dbflow-processor:${DBFLOW}" kapt "com.github.Raizlabs.DBFlow:dbflow-processor:${DBFLOW}" compile "com.github.Raizlabs.DBFlow:dbflow-kotlinextensions:${DBFLOW}" @@ -109,24 +107,16 @@ dependencies { compile "org.jsoup:jsoup:${JSOUP}" compile "com.github.bumptech.glide:glide:${GLIDE}" - annotationProcessor "com.github.bumptech.glide:compiler:${GLIDE}" + kapt "com.github.bumptech.glide:compiler:${GLIDE}" // compile("com.mikepenz:materialdrawer:${MATERIAL_DRAWER}@aar") { // transitive = true // } - compile("co.zsmb:materialdrawer-kt:${MATERIAL_DRAWER_KT}") { - exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib' - } + compile "co.zsmb:materialdrawer-kt:${MATERIAL_DRAWER_KT}" - compile("nz.bradcampbell:paperparcel:${PAPER_PARCEL}") { - exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib' - } - compile("nz.bradcampbell:paperparcel-kotlin:${PAPER_PARCEL}") { - exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib' - } - kapt("nz.bradcampbell:paperparcel-compiler:${PAPER_PARCEL}") { - exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib' - } + compile "nz.bradcampbell:paperparcel:${PAPER_PARCEL}" + compile "nz.bradcampbell:paperparcel-kotlin:${PAPER_PARCEL}" + kapt "nz.bradcampbell:paperparcel-compiler:${PAPER_PARCEL}" compile "com.jude:swipebackhelper:${SWIPE_BACK}" @@ -134,7 +124,3 @@ dependencies { transitive = true; } } - -kapt { - generateStubs = true -} |