Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Gradle 6.0 deprecations #238

Closed
tobrun opened this issue May 27, 2019 · 1 comment
Closed

Gradle 6.0 deprecations #238

tobrun opened this issue May 27, 2019 · 1 comment
Labels

Comments

@tobrun
Copy link
Member

tobrun commented May 27, 2019

Migration to gradle 5.0 is happening in mapbox/mapbox-gl-native#14646.
That migration is showing deprecation notices for gradle 6.0:

The DefaultSourceDirectorySet constructor has been deprecated. This is scheduled to be removed in Gradle 6.0. Please use the ObjectFactory service to create instances of SourceDirectorySet instead.
        at build_ae19709924bs0po3wsyjd4fv6.run(/home/tobrun/ws/mapbox-gl-native/platform/android/MapboxGLAndroidSDK/build.gradle:3)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
/home/tobrun/ws/mapbox-gl-native/platform/android/MapboxGLAndroidSDK/src/main/java
The JacocoReportBase.setSourceDirectories(FileCollection) method has been deprecated. This is scheduled to be removed in Gradle 6.0. Use getSourceDirectories().from(...)
        at jacoco_report_5p88hyjlhpz9tb9tjfj6ch2n5$_run_closure2.doCall(/home/tobrun/ws/mapbox-gl-native/platform/android/gradle/jacoco-report.gradle:30)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The JacocoReportBase.setClassDirectories(FileCollection) method has been deprecated. This is scheduled to be removed in Gradle 6.0. Use getClassDirectories().from(...)
        at jacoco_report_5p88hyjlhpz9tb9tjfj6ch2n5$_run_closure2.doCall(/home/tobrun/ws/mapbox-gl-native/platform/android/gradle/jacoco-report.gradle:31)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The JacocoReportBase.setExecutionData(FileCollection) method has been deprecated. This is scheduled to be removed in Gradle 6.0. Use getExecutionData().from(...)
        at jacoco_report_5p88hyjlhpz9tb9tjfj6ch2n5$_run_closure2.doCall(/home/tobrun/ws/mapbox-gl-native/platform/android/gradle/jacoco-report.gradle:32)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)

Gradle command to generate these warnings:

./gradlew -Pmapbox.abis=none :MapboxGLAndroidSDK:build --warning-mode all
@chloekraw chloekraw transferred this issue from mapbox/mapbox-gl-native Mar 6, 2020
@stale stale bot added the archived label Sep 6, 2020
@stale
Copy link

stale bot commented Sep 7, 2020

This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

@stale stale bot closed this as completed Sep 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant