Closed alanktwong closed 1 year ago
Hi Alan!
I cannot reproduce the issue using a sample test project.
Are you configuring/modifying the yclean
task in your build somehow?
@mpern ,
No problems. I found the root cause, which was I had a buildSrc/build.gradle
trying to download an older version of the plugin that was using JavaExecSpec.setMain(...), when my build.gradle was using the newer version.
So if others run into the issue the solution is simple:
gradle.properties
.This issue can be closed.
I am trying to use your plugin to setup Commerce 2211 using Gradle 8.2.1 and Java 17
I noticed this failed
And that's due to the fact that Gradle is migrating many tasks over to
Property<String>
. SpecificallygetMainClass().set(string)
should be used instead.https://docs.gradle.org/8.2.1/javadoc/org/gradle/process/JavaExecSpec.html#setMain-java.lang.String-
More precisely, we're using SAP's Gradle plugin and extending it to support the functionality that we want for our proprietary plugin.