-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix all build.gradle files to use new deps declarations #1990
Conversation
imagepipeline-base-test/build.gradle
Outdated
@@ -36,7 +37,7 @@ task jarTest (type: Jar) { | |||
} | |||
|
|||
configurations { | |||
testOutput.extendsFrom (testCompile) | |||
testOutput.extendsFrom (testimplementation) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't you want testImplementation
?
imagepipeline-base/build.gradle
Outdated
testCompile("org.powermock:powermock-api-mockito:${POWERMOCK_VERSION}") { | ||
implementation "com.parse.bolts:bolts-tasks:${BOLTS_ANDROID_VERSION}" | ||
implementation project(':fbcore') | ||
implementation 'com.facebook.soloader:soloader:0.1.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you also do the same versioning as we do for the others? Also, should this be in this diff?
5a9178e
to
523d0fc
Compare
@foghina has updated the pull request. |
Whoops, some of the changes from #1989 butted their way in here. Removed them and fixed the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's do this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@oprisnik is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Summary: We were getting a lot of deprecation warnings when building with gradle after the update to 4.1. This PR switches all `provided` to `compileOnly` and `compile` to `implementation` / `api`, depending on the use case. CI + run showcase app. Closes facebook#1990 Reviewed By: oprisnik Differential Revision: D6556102 Pulled By: foghina fbshipit-source-id: 2b44efa74d379cc00192466a0ab31b2faeb9402a
Motivation (required)
We were getting a lot of deprecation warnings when building with gradle after the update to 4.1. This PR switches all
provided
tocompileOnly
andcompile
toimplementation
/api
, depending on the use case.Test Plan (required)
CI + run showcase app.