You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2020/09/02 17:55:18 UTC

[lucene-solr] 02/02: LUCENE-9215: add changes, tune the build.gradle of the doclet project to have correct settings

This is an automated email from the ASF dual-hosted git repository.

uschindler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git

commit aabd36332faecbd7930494a61b2b699034c26dd2
Author: Uwe Schindler <us...@apache.org>
AuthorDate: Wed Sep 2 19:54:55 2020 +0200

    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 4e680b6..3b5d4e1 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 ac3025b..2edfad5 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