Skip to content

Change duplicated variant.getJavaCompile() to variant.getJavaCompileP…#280

Closed
BearCola wants to merge 1 commit intoevant:masterfrom
BearCola:master
Closed

Change duplicated variant.getJavaCompile() to variant.getJavaCompileP…#280
BearCola wants to merge 1 commit intoevant:masterfrom
BearCola:master

Conversation

@BearCola
Copy link

…rovider()

Related issue #279


private static configureCompileJavaTask(Project project, BaseVariant variant, RetrolambdaTransform transform) {
variant.javaCompile.doFirst {
variant.javaCompileProvider.get().doFirst {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By using get() we break the lazy configuration the provider introduces, should figure out another way to do it, probably with configure? https://docs.gradle.org/current/userguide/task_configuration_avoidance.html

@evant
Copy link
Owner

evant commented Feb 5, 2020

Closing due to inactivity, feel free to re-open if you desire to work on it

@evant evant closed this Feb 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants