9d466997f7
- upgrade Kotlin to 1.4.32 - upgrade android gradle plugin to 4.1.3 - remove `versionNameSuffix` - remove `buildToolsVersion` as android gradle plugin already done it - remove unnecessary `targetCompatibility` and `sourceCompatibility` in subprojects - remove proguard - remove NeoTermBridgeExample - remove unused tests - remove bintray upload of NeoTermBridge
32 lines
918 B
Groovy
32 lines
918 B
Groovy
apply plugin: 'com.android.library'
|
|
|
|
def libraryVersionCode = 1
|
|
def libraryVersionName = "1.0"
|
|
|
|
android {
|
|
compileSdkVersion rootProject.ext.android.COMPILE_SDK_VERSION
|
|
|
|
defaultConfig {
|
|
minSdkVersion rootProject.ext.android.MIN_SDK_VERSION
|
|
targetSdkVersion rootProject.ext.android.TARGET_SDK_VERSION
|
|
versionCode libraryVersionCode
|
|
versionName libraryVersionName
|
|
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', {
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
})
|
|
testImplementation rootProject.ext.deps["junit"]
|
|
}
|