[ 
https://issues.apache.org/jira/browse/SOLR-18289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18092144#comment-18092144
 ] 

ASF subversion and git services commented on SOLR-18289:
--------------------------------------------------------

Commit 97be8bd468a20708fd1136152ac03f775b1992d9 in solr's branch 
refs/heads/branch_10x from Serhiy Bzhezytskyy
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=97be8bd468a ]

SOLR-18289: Build: upgrade Gradle to 9.6.0 (#4539)

- `gradle-wrapper.properties`, `libs.versions.toml` — bump Gradle 8.10 → 9.6.0;
  Lucene already completed this same migration, making the path well-trodden
- `globals.gradle`, `changes-to-html.gradle`, `check-broken-links.gradle`,
  `javacc.gradle`, `docker/build.gradle` — `Project.exec`/`javaexec` removed in
  Gradle 9; inject `ExecOperations` via holder pattern (same approach already 
used
  in `globals.gradle`); docker tasks use minimal injection to avoid script-local
  scoping issues with typed task classes
- `gradle-archives.gradle`, `jar-manifest.gradle`, `javac.gradle`,
  `packaging.gradle`, `defaults-maven.gradle`, `build.gradle`, 
`jwt-auth/build.gradle`
  — remaining Gradle 9 API migrations: `archivesBaseName` → `base { 
archivesName }`,
  `sourceCompatibility`/`targetCompatibility` under `java {}`, archive/copy file
  modes → `dirPermissions`/`filePermissions`, `dependencyProject` → 
`project(dep.path)`,
  drop forbidden `setCanBeConsumed(true)` on resolvable config, `webAppDirName` 
→
  `from("web")`
- `rat-sources.gradle` — resolve RAT classpath at configuration time; Gradle 9
  forbids configuration resolution at execution time; also add explicit
  `import groovy.xml.XmlParser` for Groovy 4 compatibility
- `render-javadoc.gradle` — make `findRenderTasksInDependencies()` non-private;
  Groovy 4 dispatch on decorated task instances requires it
- `dependency-analyze.gradle` — removed; `ca.cutterslade.analyze` has no
  Gradle-9-compatible release and produces false-positive failures with 
dependency
  locking; adopting a replacement is a separate follow-up (matches Lucene main)
- `netty-tcnative-*` license sha1 files — align pin 2.0.75 → 2.0.77 to match
  version forced by the netty BOM, resolving the two-version conflict


> Upgrade to Gradle 9.x
> ---------------------
>
>                 Key: SOLR-18289
>                 URL: https://issues.apache.org/jira/browse/SOLR-18289
>             Project: Solr
>          Issue Type: Task
>          Components: Build
>            Reporter: David Smiley
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Upgrade Gradle to 9.x from 8.x.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to