Skip to content

Conversation

@RBusarow
Copy link
Member

fixes #453

@kodiakhq kodiakhq bot merged commit d7f1cb5 into main Mar 20, 2022
@kodiakhq kodiakhq bot deleted the skip_buildConfig_task branch March 20, 2022 22:57
}

@Test
fun `buildConfig task should not be required when disabled in android library module`() {
Copy link
Contributor

Choose a reason for hiding this comment

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

What if it is disabled via gradle.properties. Does this handle that automatically?

Copy link
Member Author

Choose a reason for hiding this comment

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

gradle.properties, -Pandroid.defaults.buildfeatures.buildconfig=false, and the dsl are all functionally the same. The dsl extensions all just delegate to project.properties.

Copy link
Contributor

Choose a reason for hiding this comment

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

Didn't know. That's very neat

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build speed optimization when BuildConfig is disabled

3 participants