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

Gradle 4.0 changed the default layout of the classes folders cause plugin to fail #12

Open
jetersen opened this issue Dec 6, 2017 · 2 comments

Comments

@jetersen
Copy link

jetersen commented Dec 6, 2017

Where Gradle 3.x put all classes of groovy and java code into a single directory, Gradle 4 by default creates separate directories for all languages. Unfortunately, this breaks the way
SezPoz (the library indexing the Extension annotations) works, meaning that all annotations from java code are effectively ignored.

@jglick just wanted to make you aware of
jenkinsci/gradle-jpi-plugin#95

@jglick
Copy link
Owner

jglick commented Jan 18, 2018

Unclear to me where the “fault” lies here. I am not a Gradle user FWIW. Whatever jenkinsci/gradle-jpi-plugin#97 is doing, I cannot exactly follow.

@jetersen
Copy link
Author

jetersen commented Jan 18, 2018

@jglick the fault lies in that Gradle 4.x have decided to split out each source so instead of classes/main it is now multiple folders for each source set.

classes/java/main
classes/kotlin/main
classes/groovy/main

sezpoz assumes classes/main

it might be solved by jenkinsci/gradle-jpi-plugin#97 have not had a chance to test it.

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