Skip to content
This repository has been archived by the owner on Jul 17, 2022. It is now read-only.

Gradle 6.0 compatibility by removing deprecated API #171

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Gradle 6.0 compatibility by removing deprecated API #171

wants to merge 4 commits into from

Conversation

616slayer616
Copy link

Fixes issue #168.

resolve only resolvable configurations
configurations.all { it.resolve() }
configurations.all { configuration ->
if (configuration.isCanBeResolved()) {
println "Resolving $configuration"

Choose a reason for hiding this comment

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

Should we use logger.info instead of println?

configuration.resolve()
}
else {
println "$configuration is not resolvable"

Choose a reason for hiding this comment

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

Should we use logger.info instead of println?

@johnrengelman
Copy link

This isn't a long term solution as DefaultJavaScriptSourceSetContainer is extending from an internal Gradle API class.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants