From aabd36332faecbd7930494a61b2b699034c26dd2 Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Wed, 2 Sep 2020 19:54:55 +0200 Subject: [PATCH] LUCENE-9215: add changes, tune the build.gradle of the doclet project to have correct settings --- dev-tools/missing-doclet/build.gradle | 14 ++++++++++++-- lucene/CHANGES.txt | 2 ++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/dev-tools/missing-doclet/build.gradle b/dev-tools/missing-doclet/build.gradle index 4e680b6cb0e..3b5d4e1a022 100644 --- a/dev-tools/missing-doclet/build.gradle +++ b/dev-tools/missing-doclet/build.gradle @@ -15,8 +15,18 @@ * limitations under the License. */ -apply plugin: 'java-library' +plugins { + id 'java-library' +} version = "1.0.0-SNAPSHOT" group = "org.apache.lucene.tools" -description = 'Doclet-based javadoc validation.' +description = 'Doclet-based javadoc validation' + +sourceCompatibility = JavaVersion.VERSION_11 +targetCompatibility = JavaVersion.VERSION_11 + +tasks.withType(JavaCompile) { + options.compilerArgs += ["--release", targetCompatibility.toString()] + options.encoding = "UTF-8" +} diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt index ac3025b4f0f..2edfad575e7 100644 --- a/lucene/CHANGES.txt +++ b/lucene/CHANGES.txt @@ -162,6 +162,8 @@ Other * LUCENE-9433: Remove Ant support from trunk (Erick Erickson, Uwe Schindler et.al.) +* LUCENE-9215: Replace checkJavaDocs.py with doclet (Robert Muir, Dawid Weiss, Uwe Schindler) + ======================= Lucene 8.7.0 ======================= API Changes