Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Deprecation warning when used with Gradle 4.10.x or Android Plugin 3.3.x #167

Description

@AstralStorm

Enabling the plugin triggers the following message when Android Gradle plugin 3.3 is used.
(In my case, 3.3.0-alpha13)

16:51:03.116 [DEBUG] [groovyx.GroovyAndroidPlugin] Project has com.android.build.gradle.LibraryExtension_Decorated@367efc09 as an extension
16:51:03.117 [DEBUG] [groovyx.GroovyAndroidPlugin] Processing variant debug
16:51:03.117 [WARN] [org.gradle.api.Project] WARNING: API 'variant.getJavaCompile()' is obsolete and has been replaced with 'variant.getJavaCompileProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.

To determine what is calling variant.getJavaCompile(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace.

Unfortunately, just adding the recommended option does not show the stacktrace.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions