mirror of
https://github.com/xoureldeen/Vectras-VM-Android.git
synced 2026-05-02 00:00:25 +00:00
104 lines
3.6 KiB
Groovy
104 lines
3.6 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
}
|
|
|
|
android {
|
|
namespace 'com.vectras.vm'
|
|
compileSdk compileApi
|
|
|
|
defaultConfig {
|
|
applicationId "com.vectras.vm"
|
|
minSdk minApi
|
|
targetSdk targetApi
|
|
versionCode 14
|
|
versionName "v2.8-debug-build-4"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
multiDexEnabled true
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
buildFeatures {
|
|
viewBinding true
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
buildFeatures.buildConfig true
|
|
splits {
|
|
abi {
|
|
enable true
|
|
reset()
|
|
include 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
|
|
universalApk true
|
|
}
|
|
}
|
|
android {
|
|
lintOptions {
|
|
checkReleaseBuilds false
|
|
// Or, if you prefer, you can continue to check for errors in release builds,
|
|
// but continue the build even when errors are found:
|
|
abortOnError false
|
|
}
|
|
}
|
|
|
|
packagingOptions {
|
|
exclude 'META-INF/DEPENDENCIES'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
|
implementation 'com.google.android.material:material:1.8.0'
|
|
implementation "androidx.annotation:annotation:1.3.0"
|
|
implementation "androidx.core:core:1.6.0"
|
|
implementation "androidx.drawerlayout:drawerlayout:1.1.1"
|
|
implementation "androidx.preference:preference:1.1.1"
|
|
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
|
|
implementation "androidx.viewpager:viewpager:1.0.0"
|
|
implementation platform('com.google.firebase:firebase-bom:32.3.1')
|
|
implementation 'com.google.firebase:firebase-analytics'
|
|
implementation("com.google.firebase:firebase-auth")
|
|
implementation("com.google.firebase:firebase-database")
|
|
implementation 'com.google.firebase:firebase-storage'
|
|
implementation("com.google.android.gms:play-services-auth:20.7.0")
|
|
implementation("com.google.firebase:firebase-crashlytics")
|
|
implementation 'com.google.android.gms:play-services-ads:22.6.0'
|
|
implementation 'com.github.bumptech.glide:glide:4.16.0'
|
|
implementation 'com.google.guava:guava:33.1.0-jre'
|
|
|
|
// Do not increment version higher than 1.0.0-alpha09 since it will break ViewUtils and needs to be looked into
|
|
// noinspection GradleDependency
|
|
implementation "androidx.window:window:1.0.0-alpha09"
|
|
|
|
// Do not increment version higher than 2.5 or there
|
|
// will be runtime exceptions on android < 8
|
|
// due to missing classes like java.nio.file.Path.
|
|
implementation "commons-io:commons-io:2.5"
|
|
|
|
implementation 'org.zeroturnaround:zt-zip:1.16'
|
|
implementation 'com.airbnb.android:lottie:6.3.0'
|
|
|
|
// https://mvnrepository.com/artifact/org.apache.commons/commons-compress
|
|
implementation 'org.apache.commons:commons-compress:1.25.0'
|
|
implementation 'com.google.firebase:firebase-crashlytics-buildtools:2.9.9'
|
|
|
|
//vterm
|
|
implementation project (':vterm')
|
|
|
|
//vspice
|
|
api 'com.android.support:multidex:1.0.3'
|
|
implementation project(':bVNC')
|
|
implementation project(':pubkeyGenerator')
|
|
|
|
//test
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
|
}
|