Skip to content

Conversation

m1ga
Copy link
Contributor

@m1ga m1ga commented Jul 20, 2025

Changes:

Support for Java 24
GraalVM Native Image selection for toolchains
Skipped tests now report assumption violations
Build authoring improvements
Configuration cache improvements

Many changes are just:
old syntax: ndkVersion project.ext.tiNdkVersion
new syntax: ndkVersion = project.ext.tiNdkVersion

  • ✔️ Building the SDK works fine now (one doLast exec deprecation is still shown)
  • ✔️ Building apps works fine now
  • ✔️ building modules works fine (tested a java and kotlin module)

@m1ga m1ga changed the title feat(android): update gradle to 8.14 feat(android): update gradle to 8.14.3 Jul 20, 2025
@m1ga
Copy link
Contributor Author

m1ga commented Aug 14, 2025

Updated the PR.
Only two warnings left when compiling a module:

[INFO]  [GRADLE] > Configure project :module
[INFO]  [GRADLE] The StartParameter.isConfigurationCacheRequested property has been deprecated. This is scheduled to be removed in Gradle 10.0. Please use 'configurationCache.requested' property on 'BuildFeatures' service instead. Consult the upgrading guide for further information: https://docs.gradle.org/8.14.3/userguide/upgrading_version_8.html#deprecated_startparameter_is_configuration_cache_requested
[INFO]  [GRADLE]        at build_4qpbwxslnuklt97pytnq3oqhh.run(/home/miga/dev/ti.animation/android/build/module/build.gradle:4)
[INFO]  [GRADLE]        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
[INFO]  [GRADLE] The Configuration.fileCollection(Spec) method has been deprecated. This is scheduled to be removed in Gradle 9.0. Use Configuration.getIncoming().artifactView(Action) with a componentFilter instead. Consult the upgrading guide for further information: https://docs.gradle.org/8.14.3/userguide/upgrading_version_8.html#deprecate_filtered_configuration_file_and_filecollection_methods

sadly I can't find where they are :-( But the first one is for gradle 10 so we have more time to fix that one

@m1ga
Copy link
Contributor Author

m1ga commented Oct 1, 2025

Turned out the last warning was a Kotlin related warning. Upgrading the Kotlin version fixed it: https://stackoverflow.com/a/79282059/5193915

@m1ga m1ga marked this pull request as ready for review October 1, 2025 11:35
@m1ga m1ga requested a review from cb1kenobi October 1, 2025 11:37
Copy link
Contributor

@cb1kenobi cb1kenobi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on Windows 11 and works great!

I should mention that I built the SDK from source and it downloaded the new Gradle version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants