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 2022/11/10 16:19:40 UTC

[lucene] branch branch_9x updated: Fix bug with set of strings since upgrade of Gradle -> explicit cast from GString to String

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

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


The following commit(s) were added to refs/heads/branch_9x by this push:
     new 78177d64843 Fix bug with set of strings since upgrade of Gradle -> explicit cast from GString to String
78177d64843 is described below

commit 78177d64843ed867dd8e2fbdb4349a34f4fb8170
Author: Uwe Schindler <us...@apache.org>
AuthorDate: Thu Nov 10 17:18:30 2022 +0100

    Fix bug with set of strings since upgrade of Gradle -> explicit cast from GString to String
---
 gradle/ide/eclipse.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gradle/ide/eclipse.gradle b/gradle/ide/eclipse.gradle
index f18ceb75872..aea23b065ba 100644
--- a/gradle/ide/eclipse.gradle
+++ b/gradle/ide/eclipse.gradle
@@ -43,7 +43,7 @@ configure(rootProject) {
             return prj.plugins.hasPlugin(JavaPlugin)
           }
           
-          Set<String> sourceSetNames = ["main", "test", "main${eclipseJavaVersion}", "test${eclipseJavaVersion}", "tools"] as Set
+          Set<String> sourceSetNames = ['main', 'test', "main${eclipseJavaVersion}" as String, "test${eclipseJavaVersion}" as String, 'tools'] as Set
           Set<String> sources = []
           Set<File> jars = []
           projects.each { prj ->