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

Search plugin class in all output classes directories #21

Closed
wants to merge 1 commit into from
Closed

Search plugin class in all output classes directories #21

wants to merge 1 commit into from

Conversation

olivierlemasle
Copy link

@olivierlemasle olivierlemasle commented Dec 6, 2017

checkPluginClass used deprecated classesDir, which resolved to a single directory (e.g. 'build/classes/java/').
See the deprecation: https://docs.gradle.org/current/javadoc/org/gradle/api/tasks/SourceSetOutput.html

This commit uses classesDirs, which is a file collection with all configured output classes (e.g. 'build/classes/java/' and 'build/classes/kotlin/').

Fixes #20

checkPluginClass used deprecated `classesDir`, which resolved to a single
directory (e.g. 'build/classes/java/').
See the deprecation: https://docs.gradle.org/current/dsl/org.gradle.api.tasks.SourceSetOutput.html

This commit uses `classesDirs`, which is a file collection with all configured output classes
(e.g. 'build/classes/java/' and 'build/classes/kotlin/').

Fixes #20
@olivierlemasle
Copy link
Author

Actually, it seems my patch requires Gradle >= '4.0'...

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

Successfully merging this pull request may close these issues.

Plugin class not found after just updating kotlin dependencies
1 participant