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 ->
|
sourceSets.configureEach { sourceSet ->
|
||||||
tasks.named(sourceSet.compileJavaTaskName).configure {
|
tasks.named(sourceSet.compileJavaTaskName).configure {
|
||||||
options.annotationProcessorGeneratedSourcesDirectory = file("$buildDir/generated/source/apt/${sourceSet.name}")
|
options.generatedSourceOutputDirectory = file("$buildDir/generated/source/apt/${sourceSet.name}")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
idea {
|
idea {
|
||||||
module {
|
module {
|
||||||
sourceDirs += compileJava.options.annotationProcessorGeneratedSourcesDirectory
|
sourceDirs += compileJava.options.generatedSourceOutputDirectory
|
||||||
generatedSourceDirs += compileJava.options.annotationProcessorGeneratedSourcesDirectory
|
generatedSourceDirs += compileJava.options.generatedSourceOutputDirectory
|
||||||
testSourceDirs += compileTestJava.options.annotationProcessorGeneratedSourcesDirectory
|
testSourceDirs += compileTestJava.options.generatedSourceOutputDirectory
|
||||||
generatedSourceDirs += compileTestJava.options.annotationProcessorGeneratedSourcesDirectory
|
generatedSourceDirs += compileTestJava.options.generatedSourceOutputDirectory
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user