Skip to content

Commit eff92b1

Browse files
committed
Added support to get okhttp library version from rootProject
1 parent 8b874f9 commit eff92b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

android/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ android {
4141

4242
dependencies {
4343
implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
44-
implementation 'com.squareup.okhttp3:okhttp:+'
45-
implementation 'com.squareup.okhttp3:logging-interceptor:+'
46-
implementation 'com.squareup.okhttp3:okhttp-urlconnection:+'
44+
implementation "com.squareup.okhttp3:okhttp:${safeExtGet('okhttp', '+')}"
45+
implementation "com.squareup.okhttp3:logging-interceptor:${safeExtGet('okhttp', '+')}"
46+
implementation "com.squareup.okhttp3:okhttp-urlconnection:${safeExtGet('okhttp', '+')}"
4747
// {RNFetchBlob_PRE_0.28_DEPDENDENCY}
4848
}

0 commit comments

Comments
 (0)