Closed NickSeagull closed 6 years ago
@NickSeagull It looks like you are depending on a locally installed gradle-eta; if so, follow the steps in the readme to do so, e.g. ./gradlew publishToMavenLocal
@rahulmutt Has this plugin been deployed to the Gradle Plugins Repo?
@NickSeagull Can you provide the stacktrace in a Gist? (./gradlew --stacktrace
)
@carymrobbins Not yet. Resolving the last few bugs before doing a release. As you said, publishToMavenLocal
needs to be done. I've updated README in gradle-eta
to provide all those instructions.
Looks like the problem in my case is with ./gradlew
. Running a gradle build
(with the Gradle that is installed globally) works.
Here you have the stacktrace :smile:
This is quite an issue, as IntelliJ defaults to ./gradlew
instead of gradle
.
Here's the problem:
Caused by: java.lang.NoClassDefFoundError: org/gradle/api/provider/Property
That's a Gradle 4.3+ api. Update your wrapper with ./gradlew wrapper --gradle-version 4.3
.
If this becomes a serious problem, I can see if I can make a backwards compatible version of the Property
class.
I've just updated the Gradle Wrapper to this configuration distributionUrl=https\://services.gradle.org/distributions/gradle-4.5-all.zip
and it works properly, maybe we can add that Gradle 4.3+ is required to the README?
I think that backwards compatibility is not an issue here.
Description
I've just created a new Gradle Java project using IntelliJ IDEA and added what is requested in the README to the
build.gradle
file.I also installed
gradle-eta
following the steps in the README.Error
System
Additional information
You can clone the project repo here