Skip to content

Commit 072e389

Browse files
hyochanjanicduplessis
authored andcommitted
Replace deprecated 'compile' gradle configuration with 'implementation' (react-native-image-picker#1010)
According to [[email protected]](https://github.com/react-native-community/react-native-releases/blob/master/CHANGELOG.md#057) default gradle version is now `4.4`.
1 parent da77c92 commit 072e389

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

android/build.gradle

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ repositories {
5151
}
5252

5353
dependencies {
54-
compile "com.facebook.react:react-native:+" // From node_modules
54+
implementation "com.facebook.react:react-native:+" // From node_modules
5555

56-
testCompile "junit:junit:4.10"
57-
testCompile "org.assertj:assertj-core:1.7.0"
58-
testCompile "org.robolectric:robolectric:3.3.2"
56+
testImplementation "junit:junit:4.10"
57+
testImplementation "org.assertj:assertj-core:1.7.0"
58+
testImplementation "org.robolectric:robolectric:3.3.2"
5959

60-
testCompile "org.easytesting:fest-assert-core:${FEST_ASSERT_CORE_VERSION}"
61-
testCompile "org.powermock:powermock-api-mockito:${POWERMOCK_VERSION}"
62-
testCompile "org.powermock:powermock-module-junit4-rule:${POWERMOCK_VERSION}"
63-
testCompile "org.powermock:powermock-classloading-xstream:${POWERMOCK_VERSION}"
64-
testCompile "org.mockito:mockito-core:${MOCKITO_CORE_VERSION}"
60+
testImplementation "org.easytesting:fest-assert-core:${FEST_ASSERT_CORE_VERSION}"
61+
testImplementation "org.powermock:powermock-api-mockito:${POWERMOCK_VERSION}"
62+
testImplementation "org.powermock:powermock-module-junit4-rule:${POWERMOCK_VERSION}"
63+
testImplementation "org.powermock:powermock-classloading-xstream:${POWERMOCK_VERSION}"
64+
testImplementation "org.mockito:mockito-core:${MOCKITO_CORE_VERSION}"
6565
}

0 commit comments

Comments
 (0)