mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-11 18:29:05 +01:00
Merge branch 'fix-gradle-warnings' into 'master'
Remove warning concerning annotation processor sources See merge request briar/briar!1838
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
sourceSets.configureEach { sourceSet ->
|
||||
tasks.named(sourceSet.compileJavaTaskName).configure {
|
||||
options.annotationProcessorGeneratedSourcesDirectory = file("$buildDir/generated/source/apt/${sourceSet.name}")
|
||||
options.generatedSourceOutputDirectory = 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
|
||||
sourceDirs += compileJava.options.generatedSourceOutputDirectory
|
||||
generatedSourceDirs += compileJava.options.generatedSourceOutputDirectory
|
||||
testSourceDirs += compileTestJava.options.generatedSourceOutputDirectory
|
||||
generatedSourceDirs += compileTestJava.options.generatedSourceOutputDirectory
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user