mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-11 18:29:05 +01:00
Move dagger.gradle to project root.
This commit is contained in:
14
dagger.gradle
Normal file
14
dagger.gradle
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user