gradle / gradle-native

The home of Gradle's support for natively compiled languages
https://blog.gradle.org/introducing-the-new-cpp-plugins
Apache License 2.0
92 stars 8 forks source link

Fix deprecation warnings in Gradle build #890

Closed ghale closed 5 years ago

ghale commented 5 years ago

With the single project lock work, we have surfaced some instances in the gradle build where we are doing cross-project configuration resolution and are throwing deprecation warnings. We should investigate where we're doing this and fix them.

ghale commented 5 years ago

Looks like the deprecations fall into three usages that are all the same sort of thing:

ghale commented 5 years ago

One more (same sort of thing):

lacasseio commented 5 years ago

checkBinaryCompatibility is fixed in this PR: https://github.com/gradle/gradle/pull/7407

big-guy commented 5 years ago

@lacasseio I merged PR 7407 above into master, but we probably want to put these all on release first so we don't have any surprises with a 5.0 nightly

lacasseio commented 5 years ago

generateGradleApiPackageList is fixed in this PR: https://github.com/gradle/gradle/pull/7433

lacasseio commented 5 years ago

I will cherry-pick the commit inside release.

big-guy commented 5 years ago

@lacasseio I cherry-picked it already, should have told you when we were chatting

lacasseio commented 5 years ago

javadocAll is fixed in this PR: https://github.com/gradle/gradle/pull/7450

lacasseio commented 5 years ago

apiMetadata is fixed in this PR: https://github.com/gradle/gradle/pull/7451

big-guy commented 5 years ago

I was about to close this, but I found two more instances:

big-guy commented 5 years ago

I fixed the above two cases