Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin doesn't work with Gradle 1.8 or 1.9 (at least) #60

Closed
pmorch opened this issue Aug 21, 2015 · 3 comments
Closed

Plugin doesn't work with Gradle 1.8 or 1.9 (at least) #60

pmorch opened this issue Aug 21, 2015 · 3 comments

Comments

@pmorch
Copy link

pmorch commented Aug 21, 2015

Please include information about supported gradle versions in README.md. It doesn't work for < 2.0 and doesn't work for >= 2.4 either

For gradle-1.8 and gradle-1.9:

jtest3> ../gradle-1.9/bin/gradle -g $(pwd)/gradleHome build

FAILURE: Build failed with an exception.

* Where:
Build file '/bla/bla/build.gradle' line: 19

* What went wrong:
A problem occurred evaluating root project 'jtest3'.
> org/codehaus/groovy/runtime/typehandling/ShortTypeHandling

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 5.366 secs

Works for gradle-2.0:

jtest3> ../gradle-2.0/bin/gradle -g $(pwd)/gradleHome build
:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:jar UP-TO-DATE
:assemble UP-TO-DATE
:compileTestJava UP-TO-DATE
:processTestResources UP-TO-DATE
:testClasses UP-TO-DATE
:test UP-TO-DATE
:check UP-TO-DATE
:build UP-TO-DATE

BUILD SUCCESSFUL

Total time: 5.853 secs
@rspieldenner
Copy link
Contributor

This is on my todo list. No plans to support earlier versions. We accept pull requests if anybody wants to backport.

@pmorch
Copy link
Author

pmorch commented Aug 21, 2015

I think it is totally fine, if gradle-dependency-lock-plugin requires gradle >= 2.0. Just in that case, please document it clearly so that I don't have to experience the malfunction and then only after attempting to download a newer version during other debugging attempts discover that the gradle version is at fault.

@rspieldenner
Copy link
Contributor

Documented what versions we test against. Would release if anybody wanted to back port changes to an older version. Will accept pull requests to docs if anybody tests this against older versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants