mirror of https://github.com/LeOS-GSI/LeOS-Genesis
76 lines
1.9 KiB
Groovy
Executable File
76 lines
1.9 KiB
Groovy
Executable File
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
buildToolsVersion '29.0.2'
|
|
|
|
sourceSets {
|
|
main {
|
|
jniLibs.srcDirs = ['./src/main/libs']
|
|
}
|
|
}
|
|
|
|
defaultConfig {
|
|
minSdkVersion 16
|
|
targetSdkVersion 29
|
|
versionCode 16111000
|
|
versionName '16.1.1-BETA-2-tor-0.4.1-5-rc-orbotservice'
|
|
archivesBaseName = "OrbotService-$versionName"
|
|
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
splits {
|
|
abi {
|
|
enable true
|
|
reset()
|
|
include 'arm64-v8a'
|
|
include 'x86'
|
|
include 'armeabi-v7a'
|
|
include 'x86_64'
|
|
|
|
universalApk false
|
|
}
|
|
}
|
|
}
|
|
|
|
aaptOptions {
|
|
cruncherEnabled = false
|
|
}
|
|
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
packagingOptions {
|
|
exclude 'assets/arm/obfs4proxy' //this is redundant
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
|
|
implementation 'org.torproject:tor-android-binary:0.4.1.6-dev'
|
|
implementation 'info.pluggabletransports.aptds:apt-dispatch-library:1.0.7'
|
|
implementation 'info.pluggabletransports.aptds:apt-meek-obfs4-legacy:1.0.7'
|
|
implementation 'info.pluggabletransports.aptds:jsocksAndroid:1.0.4'
|
|
|
|
implementation 'com.jaredrummler:android-shell:1.0.0'
|
|
implementation fileTree(dir: 'libs', include: ['.so'])
|
|
testImplementation 'junit:junit:4.12'
|
|
|
|
implementation 'com.offbynull.portmapper:portmapper:2.0.5'
|
|
|
|
implementation 'org.briarproject:jtorctl:0.3'
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
|
}
|