Martin Valba
cb687f7e61
// newterm-Hotfix for 2023.1 release ( newterm ) * Remove startup asset_reset / updater * Change app min API level to 17 * Compile API to 32 * Target API 31 * Fix some deprecated functions ( use alternatives ) * Add back old terminal notification icon ( some androids had blank white sphere ) * Update gradle from 7.0 -> 7.6 * Update gradle android plugin from 4.1.3 -> 7.3.1 * Make sure that nhterm builds libs for all abis ( arm64-v8a, armeabi-v7a, x86 and x86_64 ) * Add back vibration option ( with some slight changes for some places if enabled or disabled ) * Change version code and string to 2023.1-dev
36 lines
927 B
Groovy
36 lines
927 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
|
|
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
}
|
|
}
|
|
namespace 'io.nhterm.bridge'
|
|
}
|
|
|
|
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"]
|
|
}
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|