From 8b25c4dd0b2413b5c629238deb6f528adca8e12c Mon Sep 17 00:00:00 2001 From: Dawid Weiss Date: Thu, 15 Aug 2024 22:28:49 +0200 Subject: [PATCH] Fix icu's regeneration script: instead of getVersion we can just pick the version from the catalog. --- gradle/generation/icu.gradle | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gradle/generation/icu.gradle b/gradle/generation/icu.gradle index 6e3d5f9062f..fa254d4a1bb 100644 --- a/gradle/generation/icu.gradle +++ b/gradle/generation/icu.gradle @@ -65,10 +65,8 @@ configure(project(":lucene:analysis:icu")) { icupkg = file("${icuBinDir}/icupkg") } - // Resolve version lazily (can't resolve at configuration time). - def icu4jVersionProvider = project.provider { getVersion('com.ibm.icu', 'icu4j') } // lazy gstring with ICU version. - def icu4jVersion = "${-> icu4jVersionProvider.get()}" + def icu4jVersion = deps.icu4j.get().version def icuCompileTask = Os.isFamily(Os.FAMILY_WINDOWS) ? "compileIcuWindows" : "compileIcuLinux"