Description
I upgraded a project of mine to the latest Gradle version (8.14), but it seems like there have been some changes in internal Gradle methods which made the plugin's latest version incompatible with anything above version 8.11.
Below are the constructor signatures, which caused the issues:
DefaultExecAction
Changed since 8.12: gradle/gradle@c8f7d0c#diff-b61405d48b6d7d70351c315bf64588c3764f292a28867985629277ee456a9c97R38-R39
Usage:
SetupBuilder/src/com/inet/gradle/setup/abstracts/AbstractBuilder.java
Lines 165 to 171 in 25f0d96
CopyActionExecuter
Changed since 8.13: gradle/gradle@48cc188#diff-eccae6c26b94bcd3798fd7ea0d099764e9876afce89d2f906d9b761ffb041ddeR32
Usage:
SetupBuilder/src/com/inet/gradle/setup/abstracts/AbstractTask.java
Lines 189 to 195 in 25f0d96
I also recall issues with java.net.URL
type properties being marked with the @Input
annotation, there are two of those in the codebase (although these only cause a warning, not an error):
SetupBuilder/src/com/inet/gradle/setup/msi/Msi.java
Lines 266 to 267 in 25f0d96
SetupBuilder/src/com/inet/gradle/setup/msi/Msi.java
Lines 434 to 435 in 25f0d96
I suggest to include additional checks for the Gradle versions where the changed constructor signatures should be used.