android_terminal/nhterm/build.gradle
Martinvlba ae50f60f1e Usual changes, see desc
* Add function to extract initial boot scripts when app is freshly opened or */usr dir is missing
* Change versioning to 2023.2-dev
* Slight change to About section so title of app name is shown correctly
2023-04-08 22:19:58 +03:00

91 lines
2.5 KiB
Groovy

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
android {
compileSdkVersion rootProject.ext.android.COMPILE_SDK_VERSION
defaultConfig {
applicationId "com.offsec.nhterm"
minSdkVersion rootProject.ext.android.MIN_SDK_VERSION
targetSdkVersion rootProject.ext.android.TARGET_SDK_VERSION
versionCode 20232
versionName "2023.2-dev"
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
resConfigs 'zh-rCN', 'zh-rTW'
externalNativeBuild {
cmake {
cppFlags "-std=c++11"
abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86', 'x86_64'
}
}
signingConfigs {
debug {
storeFile file('nethunter-debug.jks')
keyAlias 'nethunter'
storePassword 'nethunter'
keyPassword 'nethunter'
}
}
sourceSets {
main {
jniLibs.srcDirs = ['src/main/jniLibs']
}
}
}
buildTypes {
release {
minifyEnabled true
zipAlignEnabled true
shrinkResources true
}
}
externalNativeBuild {
cmake {
path "CMakeLists.txt"
}
}
compileOptions {
targetCompatibility 1.8
sourceCompatibility 1.8
}
kotlinOptions {
freeCompilerArgs = ["-Xallow-result-return-type"]
}
lint {
abortOnError false
checkReleaseBuilds false
}
namespace 'com.offsec.nhterm'
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
testImplementation rootProject.ext.deps["junit"]
androidTestImplementation project(path: ':NeoLang')
implementation rootProject.ext.deps["kotlin-stdlib"]
implementation 'org.greenrobot:eventbus:3.0.0'
implementation 'com.github.wrdlbrnft:modular-adapter:0.2.0.6'
implementation 'com.github.wrdlbrnft:sorted-list-adapter:0.2.0.19'
implementation 'com.simplecityapps:recyclerview-fastscroll:1.0.16'
implementation 'de.psdev.licensesdialog:licensesdialog:1.8.3'
implementation 'com.github.GrenderG:Color-O-Matic:1.1.5'
implementation 'androidx.annotation:annotation:1.2.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.appcompat:appcompat-resources:1.2.0'
implementation 'androidx.preference:preference:1.0.0'
implementation project(':chrome-tabs')
implementation project(':NeoLang')
implementation project(':NeoTermBridge')
implementation project(':Xorg')
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}