2019-01-09 23:10:07 +08:00

37 lines
1.0 KiB
Groovy

apply plugin: 'com.android.library'
def libraryVersionCode = 1
def libraryVersionName = "1.0"
android {
compileSdkVersion rootProject.ext.android.COMPILE_SDK_VERSION
buildToolsVersion '28.0.3'
defaultConfig {
minSdkVersion rootProject.ext.android.MIN_SDK_VERSION
targetSdkVersion rootProject.ext.android.TARGET_SDK_VERSION
versionCode libraryVersionCode
versionName libraryVersionName
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
testImplementation rootProject.ext.deps["junit"]
}
apply from: 'bintray.gradle'