Skip to content

API 'variant.getJavaCompile()' is obsolete #50

@ehsanTC

Description

@ehsanTC

I am using this library codes in my project. Recently i upgraded gradle to the latest version that is:
Gradle plugin version: 3.4.2
Gradle version: 5.1.1

When project gradle syncing is terminated, a warning is raised:

WARNING: API 'variant.getJavaCompile()' is obsolete and has been replaced with 'variant.getJavaCompileProvider()'. It will be removed at the end of 2019.

Unfortunately, no special line of code is selected by IDE as a hint to remove the warning.
How can i remove this bothering warning? Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions