eladgel 57e7fe4e9a Update build.gradle
If having min api version of 21 I cannot build the project when using this library, since upgrading to the latest Android studio, this change fixes that

Android Studio 3.4.0
classpath 'com.android.tools.build:gradle:3.4.0'
2019-04-24 18:48:40 -07:00

39 lines
888 B
Groovy

buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.1'
}
}
apply plugin: 'com.android.library'
android {
compileSdkVersion rootProject.properties.get('compileSdkVersion', 26)
buildToolsVersion rootProject.properties.get('buildToolsVersion', '26.0.3')
defaultConfig {
minSdkVersion 16
targetSdkVersion rootProject.properties.get('targetSdkVersion', 26)
versionCode 1
versionName "1.0"
}
lintOptions{
abortOnError false
}
}
repositories {
maven { url "https://jitpack.io" }
jcenter()
}
dependencies {
implementation 'com.facebook.react:react-native:+'
implementation fileTree(include: ['*.jar'], dir: 'libs')
testImplementation 'junit:junit:4.12'
implementation 'com.afollestad.material-dialogs:commons:0.9.6.0'
}