mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-11-08 11:36:11 +01:00
44 lines
1.2 KiB
Groovy
44 lines
1.2 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 28
|
|
|
|
dependencies {
|
|
implementation "androidx.annotation:annotation:1.0.1"
|
|
implementation "androidx.viewpager:viewpager:1.0.0"
|
|
implementation "androidx.drawerlayout:drawerlayout:1.0.0"
|
|
implementation project(":terminal-view")
|
|
}
|
|
|
|
defaultConfig {
|
|
applicationId "com.termux"
|
|
minSdkVersion 21
|
|
targetSdkVersion 28
|
|
versionCode 66
|
|
versionName "0.66_v0.4_by-xeffyr"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
shrinkResources false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation 'junit:junit:4.12'
|
|
}
|
|
|
|
preBuild.doFirst {
|
|
assert file("./src/main/assets/bootstrap-aarch64").exists()
|
|
assert file("./src/main/assets/bootstrap-arm").exists()
|
|
assert file("./src/main/assets/bootstrap-i686").exists()
|
|
assert file("./src/main/assets/bootstrap-x86_64").exists()
|
|
}
|