ph4r05 / javacard-gradle-plugin

Gradle plugin for JavaCard development
MIT License
9 stars 8 forks source link

Deprecated Gradle features (Gradle 7.x) #10

Open simonratner opened 8 months ago

simonratner commented 8 months ago

Seeing this warning when building with Gradle 7.2:

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

Running with --warning-mode all:

The JavaExec.main property has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the mainClass property instead. See https://docs.gradle.org/7.2/dsl/org.gradle.api.tasks.JavaExec.html#org.gradle.api.tasks.JavaExec:main for more details.
Vampire commented 6 months ago

Any news on this @ph4r05? As main is used, the plugin is incompatible with Gradle 8 where the method is removed unless the task class is being monkey-patched.

Vampire commented 3 months ago

There are also other deprecations that need to be taken care of, like accessing project at execution time.