Skip to content

Commit

Permalink
Merge pull request #184 from SelfLender/remove-jCenter
Browse files Browse the repository at this point in the history
Removed jcenter and resolved build issues
  • Loading branch information
jayfunk authored May 18, 2022
2 parents 7d03fc2 + fd941cd commit fed8e93
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
5 changes: 4 additions & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ buildscript {
// module dependency in an application project.
if (project == rootProject) {
repositories {
mavenCentral()
maven { url "$rootDir/../node_modules/react-native/android" }
google()
jcenter()
}

dependencies {
classpath("com.android.tools.build:gradle:3.6.2")

}
}
}
Expand All @@ -36,6 +38,7 @@ android {

repositories {
mavenCentral()
maven { url "$rootDir/../node_modules/react-native/android" }
google()
}

Expand Down
15 changes: 15 additions & 0 deletions android/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Project-wide Gradle settings.

# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.

# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html

# AndroidX package structure to make it clearer which packages are bundled with the
# Android operating system, and which are packaged with your app's APK
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true
2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.5-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit fed8e93

Please sign in to comment.