Skip to content

Commit 54ab648

Browse files
committed
disable annotation processor for docs
Could not find evidence that the log4j annotation processor is used. The compiler flag enables the Gradle 5.0 behavior Closes #30476
1 parent e1d675c commit 54ab648

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,12 @@ buildRestTests.doFirst {
226226
buildRestTests.setups['bank'].replace('#bank_data#', accounts)
227227
}
228228

229+
compileTestJava {
230+
// compile classpath leaks org.apache.logging.log4j.core.config.plugins.processor.PluginProcessor but we don't need
231+
// annotation processors here. This will be the default in Gradle 5.0
232+
options.compilerArgs += '-proc:none'
233+
}
234+
229235
buildRestTests.setups['range_index'] = '''
230236
- do :
231237
indices.create:

0 commit comments

Comments
 (0)