-
Notifications
You must be signed in to change notification settings - Fork 151
Closed
Description
Describe the bug
oss-licenses-plugin
causes Gradle deprecation warnings.
To Reproduce
Steps to reproduce the behavior:
- Have a working Android project with Gradle 5.6.4 and the oss-licenses-plugin
- Update to Gradle 6.7.1
- See warnings
Expected behavior
No build warnings.
Screenshots
I’m only including the warnings I don’t get with the oss-licenses-plugin commented out:
$ ./gradlew --warning-mode all lint
[…]
> Task :app:getDependencies
Type 'DependencyTask': field 'configurations' without corresponding getter has been annotated with @Input. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.7.1/userguide/more_about_tasks.html#sec:up_to_date_checks for more details.
Type 'DependencyTask': field 'outputDir' without corresponding getter has been annotated with @OutputDirectory. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.7.1/userguide/more_about_tasks.html#sec:up_to_date_checks for more details.
Type 'DependencyTask': field 'outputFile' without corresponding getter has been annotated with @OutputFile. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.7.1/userguide/more_about_tasks.html#sec:up_to_date_checks for more details.
> Task :app:generateLicenses UP-TO-DATE
Type 'LicensesTask': field 'dependenciesJson' without corresponding getter has been annotated with @InputFile. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.7.1/userguide/more_about_tasks.html#sec:up_to_date_checks for more details.
Type 'LicensesTask': field 'outputDir' without corresponding getter has been annotated with @OutputDirectory. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.7.1/userguide/more_about_tasks.html#sec:up_to_date_checks for more details.
Type 'LicensesTask': field 'licenses' without corresponding getter has been annotated with @OutputFile. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.7.1/userguide/more_about_tasks.html#sec:up_to_date_checks for more details.
Type 'LicensesTask': field 'licensesMetadata' without corresponding getter has been annotated with @OutputFile. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.7.1/userguide/more_about_tasks.html#sec:up_to_date_checks for more details.
Desktop (please complete the following information):
- Gradle version: 6.7.1
- Android Studio version [e.g. 3.1 (stable)]: IntelliJ IDEA Ultimate 2020.3
- Plugin name and version [e.g. OSS Licenses 16.0.0]:
com.google.android.gms:oss-licenses-plugin:0.10.2
Additional context
This is independent of the IDE.
Affected project: android/
subdirectory of https://github.com/tarent/ECN-Bits
dnek, johannroux, WVerlaek, maxfie1d and yashovardhan99
Metadata
Metadata
Assignees
Labels
No labels