You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to gradle/gradle#12841 this is because main is now backed by a property, and you can only set it during configuration; so setting it during exec doesn't work any longer.
A canonical extension task like the below fails on Gradle 6.4 with
The value for task ':myDelombok' property 'mainClass' is final and cannot be changed any further
Example
According to gradle/gradle#12841 this is because
main
is now backed by a property, and you can only set it during configuration; so setting it duringexec
doesn't work any longer.Workaround - directly use a
JavaExec
taskThe text was updated successfully, but these errors were encountered: