Fix Dagger setup, remove android-apt plugin.

This commit is contained in:
akwizgran
2017-11-15 14:13:57 +00:00
parent 2a43e0b0ed
commit 98e2adf794
9 changed files with 30 additions and 25 deletions

View File

@@ -1,12 +1,9 @@
plugins {
id 'java'
id 'net.ltgt.apt' version '0.9'
id 'idea'
}
apply plugin: 'java'
sourceCompatibility = 1.6
targetCompatibility = 1.6
apply plugin: 'net.ltgt.apt'
apply plugin: 'idea'
apply plugin: 'witness'
dependencies {
@@ -16,10 +13,14 @@ dependencies {
compile 'com.squareup.okhttp3:okhttp:3.8.0'
compile 'org.jsoup:jsoup:1.10.3'
apt 'com.google.dagger:dagger-compiler:2.0.2'
testCompile project(path: ':bramble-core', configuration: 'default')
testCompile project(path: ':bramble-core', configuration: 'testOutput')
testCompile project(path: ':bramble-api', configuration: 'testOutput')
testCompile 'net.jodah:concurrentunit:0.4.2'
testApt 'com.google.dagger:dagger-compiler:2.0.2'
}
dependencyVerification {