mirror of
https://github.com/status-im/react-native-dialogs.git
synced 2025-02-28 08:10:28 +00:00
fix gradle builds and lock lib to RN 0.72.3
This commit is contained in:
parent
b324d17d88
commit
b042c84da3
@ -5,20 +5,21 @@ buildscript {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:3.2.1'
|
||||
classpath 'com.android.tools.build:gradle:7.4.0'
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'com.android.library'
|
||||
|
||||
def REACT_NATIVE_VERSION = '0.72.3'
|
||||
|
||||
android {
|
||||
compileSdkVersion rootProject.properties.get('compileSdkVersion', 26)
|
||||
buildToolsVersion rootProject.properties.get('buildToolsVersion', '26.0.3')
|
||||
compileSdkVersion rootProject.properties.get('compileSdkVersion', 33)
|
||||
buildToolsVersion rootProject.properties.get('buildToolsVersion', '30.0.3')
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion 16
|
||||
targetSdkVersion rootProject.properties.get('targetSdkVersion', 26)
|
||||
minSdkVersion 21
|
||||
targetSdkVersion rootProject.properties.get('targetSdkVersion', 31)
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
}
|
||||
@ -31,11 +32,13 @@ repositories {
|
||||
maven { url "https://jitpack.io" }
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
google()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.facebook.react:react-native:+'
|
||||
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
||||
implementation "com.facebook.react:react-android:0.72.3"
|
||||
implementation 'com.android.support:appcompat-v7:27.0.0'
|
||||
testImplementation 'junit:junit:4.12'
|
||||
implementation 'com.afollestad.material-dialogs:commons:0.9.6.0'
|
||||
}
|
||||
|
1
android/gradle.properties
Normal file
1
android/gradle.properties
Normal file
@ -0,0 +1 @@
|
||||
android.useAndroidX=true
|
@ -1,5 +1,5 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
Loading…
x
Reference in New Issue
Block a user