apply plugin: 'com.android.library'
|
|
|
|
def DEFAULT_COMPILE_SDK_VERSION = 25
|
|
def DEFAULT_BUILD_TOOLS_VERSION = "25.0.3"
|
|
def DEFAULT_TARGET_SDK_VERSION = 25
|
|
|
|
android {
|
|
compileSdkVersion project.hasProperty('compileSdkVersion') ? project.compileSdkVersion : DEFAULT_COMPILE_SDK_VERSION
|
|
buildToolsVersion project.hasProperty('buildToolsVersion') ? project.buildToolsVersion : DEFAULT_BUILD_TOOLS_VERSION
|
|
|
|
defaultConfig {
|
|
minSdkVersion 16
|
|
targetSdkVersion project.hasProperty('targetSdkVersion') ? project.targetSdkVersion : DEFAULT_TARGET_SDK_VERSION
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile fileTree(include: ['*.jar'], dir: 'libs')
|
|
compile 'com.facebook.react:react-native:+'
|
|
compile 'cn.carbswang.android:NumberPickerView:1.1.1'
|
|
compile 'org.apache.commons:commons-lang3:3.6'
|
|
compile group: 'net.time4j', name: 'time4j-android', version: '3.42-2018e'
|
|
|
|
}
|