2016-05-31 22:25:51 +00:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
classpath 'com.android.tools.build:gradle:1.1.3'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
|
2018-07-20 08:04:17 +00:00
|
|
|
def safeExtGet(prop, fallback) {
|
|
|
|
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
|
|
|
}
|
|
|
|
|
2016-05-31 22:25:51 +00:00
|
|
|
android {
|
2018-07-20 08:04:17 +00:00
|
|
|
compileSdkVersion safeExtGet('compileSdkVersion', 26)
|
|
|
|
buildToolsVersion safeExtGet('buildToolsVersion', '26.0.3')
|
2016-05-31 22:25:51 +00:00
|
|
|
|
|
|
|
defaultConfig {
|
2018-07-20 08:04:17 +00:00
|
|
|
minSdkVersion safeExtGet('minSdkVersion', 16)
|
|
|
|
targetSdkVersion safeExtGet('targetSdkVersion', 26)
|
2016-05-31 22:25:51 +00:00
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
}
|
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2017-09-06 13:34:50 +00:00
|
|
|
compile 'com.facebook.react:react-native:+'
|
2017-06-26 08:18:39 +00:00
|
|
|
compile 'com.facebook.conceal:conceal:1.1.3@aar'
|
2016-05-31 22:25:51 +00:00
|
|
|
}
|