mirror of
https://github.com/briar/briar.git
synced 2025-12-23 23:37:43 -05:00
14 lines
591 B
Groovy
14 lines
591 B
Groovy
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
|
|
}
|
|
} |