Fix icu's regeneration script: instead of getVersion we can just pick the version from the catalog.

This commit is contained in:
Dawid Weiss 2024-08-15 22:28:49 +02:00
parent 7cd2eb20cf
commit 8b25c4dd0b
1 changed files with 1 additions and 3 deletions

View File

@ -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"