android_terminal/terminal/build.gradle
Martinvlba e1826b3641 Rebrand from nhterm to evolinx + alot more
* Refactor from com.offsec.nhterm -> com.evolinx.terminal
* Re-enable First time setup activity which will downlaod + install bootstrap
* Move all the app configs home dir below usr dir with its other assets
* Rebrand all strings from nhterm/kali and etc to evolinx related strings
* Removed 'System Shell' as default session will be basically system shell
* Make sure to use R.string.something instead of hardcoded strings in NeoTermActivity for session names
* This big commit has more small changes but these dont need to be mentioned here
2024-05-07 13:10:42 -07:00

99 lines
2.8 KiB
Groovy

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
android {
compileSdkVersion rootProject.ext.android.COMPILE_SDK_VERSION
defaultConfig {
applicationId "com.evolinx.terminal"
minSdkVersion rootProject.ext.android.MIN_SDK_VERSION
targetSdkVersion rootProject.ext.android.TARGET_SDK_VERSION
versionCode rootProject.ext.versionCode
versionName rootProject.ext.versionName
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
resConfigs 'zh-rCN', 'zh-rTW'
externalNativeBuild {
cmake {
cppFlags "-std=c++11"
abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86_64'
}
}
sourceSets {
main {
jniLibs.srcDirs = ['src/main/jniLibs']
}
}
}
buildTypes {
release {
zipAlignEnabled true
versionName + "-release"
}
debug {
zipAlignEnabled true
versionName + "-debug"
}
}
externalNativeBuild {
cmake {
path "CMakeLists.txt"
}
}
compileOptions {
targetCompatibility 17
sourceCompatibility 17
}
kotlinOptions {
freeCompilerArgs = ["-Xallow-result-return-type"]
jvmTarget = "17"
}
lint {
abortOnError false
checkReleaseBuilds false
}
namespace 'com.evolinx.terminal'
}
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.3.1'
implementation 'com.github.wrdlbrnft:modular-adapter:0.3.0.22'
implementation 'com.github.wrdlbrnft:sorted-list-adapter:0.3.0.27'
implementation 'com.simplecityapps:recyclerview-fastscroll:1.0.16'
implementation 'de.psdev.licensesdialog:licensesdialog:1.9.0'
implementation 'com.github.GrenderG:Color-O-Matic:1.1.5'
implementation 'com.github.topjohnwu.libsu:core:5.2.1'
// AndroidX
implementation 'androidx.annotation:annotation:1.5.0'
implementation "androidx.core:core:1.8.0"
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.preference:preference:1.2.1'
//implementation 'androidx.preference:preference-ktx:1.2.1'
// Themes
implementation 'com.google.android.material:material:1.5.0'
implementation "androidx.compose.material3:material3:1.1.0"
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'androidx.appcompat:appcompat-resources:1.3.1'
// Backports for lower api levels
implementation 'com.llamalab.safs:safs-core:0.2.0'
implementation 'me.zhanghai.android.retrofile:library:1.1.1'
implementation project(':chrome-tabs')
implementation project(':NeoLang')
implementation project(':NeoTermBridge')
implementation project(':Xorg')
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}