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

Remove warning in Gradle 4 #124

Merged
merged 2 commits into from
Jul 26, 2017
Merged

Remove warning in Gradle 4 #124

merged 2 commits into from
Jul 26, 2017

Conversation

uschindler
Copy link
Member

This fixes #120 by using the following changes:

  • deprecate classesDir property.
  • add classesDirs property similar to SourceSet with type FileCollection.
  • add backwards compatibility.
  • make plugin-init.groovy detect correct behaviour using hasProperty() on sourceSet.output.

This PR will also later add documentation changes and example file changes.

- classesDir -> classesDirs
- deprecated classesDir
- make plugin-init.groovy detect correct behaviour using hasProperty()
@uschindler uschindler self-assigned this Jul 19, 2017
@uschindler uschindler added this to the 2.4 milestone Jul 19, 2017
@uschindler uschindler changed the title Initial commit to remove warning in Gradle 4: Remove warning in Gradle 4 Jul 19, 2017
@uschindler uschindler merged commit 8f9d0ed into master Jul 26, 2017
@uschindler uschindler deleted the fixes/gradle4 branch July 26, 2017 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Deprecation warning with Gradle 4.0-rc-1
1 participant