mirror of https://github.com/LeOS-GSI/LeOS-Genesis
68 lines
1.6 KiB
Groovy
68 lines
1.6 KiB
Groovy
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion 31
|
|
buildToolsVersion '30.0.3'
|
|
ndkVersion '21.3.6528147'
|
|
|
|
sourceSets {
|
|
main {
|
|
jniLibs.srcDirs = ['./src/main/libs']
|
|
}
|
|
}
|
|
|
|
defaultConfig {
|
|
minSdkVersion 16
|
|
targetSdkVersion 31
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
aaptOptions {
|
|
cruncherEnabled = false
|
|
}
|
|
|
|
lintOptions {
|
|
checkReleaseBuilds false
|
|
abortOnError true
|
|
|
|
htmlReport true
|
|
xmlReport false
|
|
textReport false
|
|
|
|
lintConfig file("../lint.xml")
|
|
}
|
|
|
|
packagingOptions {
|
|
exclude 'META-INF/androidx.localbroadcastmanager_localbroadcastmanager.version'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
|
|
implementation 'com.gitlab.guardianproject:jsocksandroid:1.0.4'
|
|
|
|
implementation 'com.jaredrummler:android-shell:1.0.0'
|
|
|
|
implementation 'androidx.core:core:1.6.0'
|
|
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
|
|
implementation 'com.offbynull.portmapper:portmapper:2.0.5'
|
|
|
|
implementation 'info.guardianproject:geoip:20191217'
|
|
|
|
api 'info.guardianproject:jtorctl:0.4.5.7'
|
|
implementation 'info.guardianproject:tor-android:0.4.5.9'
|
|
|
|
implementation 'com.github.tladesignz:IPtProxy:1.0.0'
|
|
}
|