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

Gradle 6.0 compatibility by removing deprecated API#171

Open
616slayer616 wants to merge 4 commits intoeriwen:masterfrom
616slayer616:master
Open

Gradle 6.0 compatibility by removing deprecated API#171
616slayer616 wants to merge 4 commits intoeriwen:masterfrom
616slayer616:master

Conversation

@616slayer616
Copy link
Copy Markdown

Fixes issue #168.

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

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"
Copy link
Copy Markdown

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
Copy Markdown

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