mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Remove gradle-apt-plugin since it isn't stricly needed anymore
Reference: 6b2ee87fbf/README.md
This commit is contained in:
@@ -2,7 +2,6 @@ apply plugin: 'java-library'
|
||||
sourceCompatibility = 1.8
|
||||
targetCompatibility = 1.8
|
||||
|
||||
apply plugin: 'net.ltgt.apt'
|
||||
apply plugin: 'idea'
|
||||
apply plugin: 'witness'
|
||||
apply from: 'witness.gradle'
|
||||
@@ -19,7 +18,7 @@ dependencies {
|
||||
tor 'org.briarproject:tor:0.3.4.8@zip'
|
||||
tor 'org.briarproject:obfs4proxy:0.0.7@zip'
|
||||
|
||||
apt 'com.google.dagger:dagger-compiler:2.19'
|
||||
annotationProcessor 'com.google.dagger:dagger-compiler:2.19'
|
||||
|
||||
testImplementation project(path: ':bramble-api', configuration: 'testOutput')
|
||||
testImplementation project(path: ':bramble-core', configuration: 'testOutput')
|
||||
@@ -30,7 +29,22 @@ dependencies {
|
||||
testImplementation "org.hamcrest:hamcrest-library:1.3"
|
||||
testImplementation "org.hamcrest:hamcrest-core:1.3"
|
||||
|
||||
testApt 'com.google.dagger:dagger-compiler:2.19'
|
||||
testAnnotationProcessor 'com.google.dagger:dagger-compiler:2.19'
|
||||
}
|
||||
|
||||
sourceSets.configureEach { sourceSet ->
|
||||
tasks.named(sourceSet.compileJavaTaskName).configure {
|
||||
options.annotationProcessorGeneratedSourcesDirectory = file("$buildDir/generated/source/apt/${sourceSet.name}")
|
||||
}
|
||||
}
|
||||
|
||||
idea {
|
||||
module {
|
||||
sourceDirs += compileJava.options.annotationProcessorGeneratedSourcesDirectory
|
||||
generatedSourceDirs += compileJava.options.annotationProcessorGeneratedSourcesDirectory
|
||||
testSourceDirs += compileTestJava.options.annotationProcessorGeneratedSourcesDirectory
|
||||
generatedSourceDirs += compileTestJava.options.annotationProcessorGeneratedSourcesDirectory
|
||||
}
|
||||
}
|
||||
|
||||
def torBinariesDir = 'src/main/resources'
|
||||
|
||||
Reference in New Issue
Block a user