Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

LUCENE-9215: add changes, tune the build.gradle of the doclet project to have correct settings

Uwe Schindleraabd36332fae
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