84 lines
2.5 KiB
Groovy
84 lines
2.5 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
|
|
defaultConfig {
|
|
compileSdk 36
|
|
targetSdk 36
|
|
applicationId "dev.ukanth.ufirewall"
|
|
//applicationId "dev.ukanth.ufirewall.donate"
|
|
minSdkVersion 21
|
|
versionCode 20251001
|
|
versionName "4.0.0"
|
|
buildConfigField 'boolean', 'DONATE', 'false'
|
|
vectorDrawables.useSupportLibrary = true
|
|
ndk {
|
|
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
|
|
}
|
|
}
|
|
|
|
buildFeatures {
|
|
buildConfig true
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
minifyEnabled false
|
|
proguardFiles 'proguard-rules.pro'
|
|
}
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
|
|
lint {
|
|
abortOnError true
|
|
disable 'MissingTranslation'
|
|
}
|
|
|
|
namespace 'dev.ukanth.ufirewall'
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
compileSdk 36
|
|
buildToolsVersion '34.0.0'
|
|
|
|
packagingOptions {
|
|
jniLibs {
|
|
useLegacyPackaging = true
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
def libsuVersion = '6.0.0'
|
|
def dbFlowVersion = '4.2.4'
|
|
|
|
implementation "com.github.topjohnwu.libsu:core:${libsuVersion}"
|
|
implementation "com.github.topjohnwu.libsu:service:${libsuVersion}"
|
|
implementation "com.github.topjohnwu.libsu:nio:${libsuVersion}"
|
|
implementation "eu.chainfire:libsuperuser:1.1.0"
|
|
implementation "com.github.ukanth:android-lockpattern:8.0.4"
|
|
implementation "com.afollestad.material-dialogs:core:0.9.6.0"
|
|
implementation "androidx.appcompat:appcompat:1.7.0"
|
|
implementation "com.google.android.material:material:1.12.0"
|
|
implementation "androidx.cardview:cardview:1.0.0"
|
|
implementation "androidx.recyclerview:recyclerview:1.3.2"
|
|
implementation "androidx.annotation:annotation:1.9.0"
|
|
implementation "androidx.core:core:1.15.0"
|
|
implementation "androidx.preference:preference:1.2.1"
|
|
implementation "androidx.legacy:legacy-support-v13:1.0.0"
|
|
implementation "androidx.activity:activity:1.9.3"
|
|
annotationProcessor "com.github.Raizlabs.DBFlow:dbflow-processor:${dbFlowVersion}"
|
|
implementation "com.github.Raizlabs.DBFlow:dbflow-core:${dbFlowVersion}"
|
|
implementation "com.github.Raizlabs.DBFlow:dbflow:${dbFlowVersion}"
|
|
implementation "io.reactivex.rxjava3:rxjava:3.1.9"
|
|
implementation "org.ocpsoft.prettytime:prettytime:5.0.6.Final"
|
|
implementation "dnsjava:dnsjava:3.6.2"
|
|
|
|
}
|