android_terminal/Xorg/build.gradle
Martin Valba cb687f7e61 Hotfix for 2023.1-dev
// 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
2023-03-04 00:15:42 +02:00

41 lines
962 B
Groovy

apply plugin: 'com.android.library'
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
}
}
sourceSets {
main {
jniLibs.srcDirs = ['src/main/jniLibs']
}
}
namespace 'com.offsec.nhterm.xorg'
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation rootProject.ext.deps["appcompat-v7"]
testImplementation rootProject.ext.deps["junit"]
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', {
exclude group: 'com.android.support', module: 'support-annotations'
})
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}