RFR: Gradle cleanup
Chen Liang
liach at openjdk.org
Wed Jul 2 23:31:52 UTC 2025
On Mon, 16 Jun 2025 22:15:12 GMT, Clayton Walker <duke at openjdk.org> wrote:
> I've been doing some development, and came across a few warnings during build.
>
> These are, [Project::task](https://docs.gradle.org/current/javadoc/org/gradle/api/Project.html#task(java.lang.String)) is now deprecated, avoiding Project::mkdir, project::delete and Project::getProjectDir as they cannot work under configuration-cache.
build.gradle line 101:
> 99:
> 100: // if these inputs or outputs change, gradle will rerun the task
> 101: inputs.file(tasks.named('jar', Jar).flatMap { it.archiveFile})
Suggestion:
inputs.file(tasks.named('jar', Jar).flatMap { it.archiveFile })
-------------
PR Review Comment: https://git.openjdk.org/jextract/pull/283#discussion_r2181147694
More information about the jextract-dev
mailing list