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 does not work w/ java-library plugin #2

Closed
sdavids opened this issue Sep 3, 2017 · 1 comment
Closed

Plugin does not work w/ java-library plugin #2

sdavids opened this issue Sep 3, 2017 · 1 comment
Assignees
Labels

Comments

@sdavids
Copy link

sdavids commented Sep 3, 2017

https://docs.gradle.org/current/userguide/java_library_plugin.html

The compile [...] configurations inherited from the Java plugin are still available but are deprecated. You should avoid using them, as they are only kept for backwards compatibility.

api("org.joda:joda-beans:1.13")

will lead to:

./gradlew jodaGenerate
...
> Task :jodaGenerate
Skipping as Joda-Beans is not in the project compile classpath

Workaround:

compile("org.joda:joda-beans:1.13")
@andreas-schilling
Copy link
Owner

andreas-schilling commented Sep 5, 2017

Fixed with version 1.0.4. Available from bintray, after sync soon also from Maven central.
Of course, kudos for finding the bug!

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

No branches or pull requests

2 participants