NeoTerm_System/NeoTermBridge/build.gradle
imkiva 9d466997f7 BUILD: upgrade to Gradle 7.0
- 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
2021-05-08 00:31:07 +08:00

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"]
}