daeho-ro opened a new issue, #8571:
URL: https://github.com/apache/gravitino/issues/8571
### What would you like to be improved?
This project could support `gradle` v9. Currently, there is an error.
```
Welcome to Gradle 9.0.0!
Here are the highlights of this release:
- Configuration Cache is the recommended execution mode
- Gradle requires JVM 17 or higher to run
- Build scripts use Kotlin 2.2 and Groovy 4.0
- Improved Kotlin DSL script compilation avoidance
For more details see https://docs.gradle.org/9.0.0/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
Skipping filesystem-fuse module since enableFuse is set to false
> Configure project :
w:
file:///private/tmp/gravitino-20250915-10862-fiy75q/gravitino-0.9.1/build.gradle.kts:165:51:
'var buildDir: File' is deprecated. Deprecated in Java.
w:
file:///private/tmp/gravitino-20250915-10862-fiy75q/gravitino-0.9.1/build.gradle.kts:474:57:
Unchecked cast of '@Nullable() Any?' to 'Function1<Test, Unit>'.
w:
file:///private/tmp/gravitino-20250915-10862-fiy75q/gravitino-0.9.1/build.gradle.kts:487:56:
Unchecked cast of '@Nullable() Any?' to 'List<String>'.
e:
file:///private/tmp/gravitino-20250915-10862-fiy75q/gravitino-0.9.1/build.gradle.kts:632:9:
Unresolved reference 'fileMode'.
e:
file:///private/tmp/gravitino-20250915-10862-fiy75q/gravitino-0.9.1/build.gradle.kts:683:9:
Unresolved reference 'fileMode'.
e:
file:///private/tmp/gravitino-20250915-10862-fiy75q/gravitino-0.9.1/build.gradle.kts:971:30:
Unresolved reference 'exec'.
e:
file:///private/tmp/gravitino-20250915-10862-fiy75q/gravitino-0.9.1/build.gradle.kts:972:7:
Unresolved reference 'commandLine'.
FAILURE: Build failed with an exception.
* Where:
Build file
'/private/tmp/gravitino-20250915-10862-fiy75q/gravitino-0.9.1/build.gradle.kts'
line: 165
* What went wrong:
Script compilation errors:
Line 165: param.environment("IT_PROJECT_DIR",
project.buildDir.path)
^ 'var
buildDir: File' is deprecated. Deprecated in Java.
Line 474: val initTest = project.extra.get("initTestParam") as
(Test) -> Unit
^
Unchecked cast of '@Nullable() Any?' to 'Function1<Test, Unit>'.
Line 487: val extraArgs = project.property("extraJvmArgs") as
List<String>
^
Unchecked cast of '@Nullable() Any?' to 'List<String>'.
Line 632: fileMode = 0b111101101
^ Unresolved reference 'fileMode'.
Line 683: fileMode = 0b111101101
^ Unresolved reference 'fileMode'.
Line 971: val execResult = project.exec {
^ Unresolved reference 'exec'.
Line 972: commandLine("bash", "-c", command)
^ Unresolved reference 'commandLine'.
7 errors
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to generate a Build Scan (Powered by Develocity).
> Get more help at https://help.gradle.org./
```
Thanks,
### How should we improve?
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]