2020-01-24 16:23:31 +01:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
|
|
|
|
android {
|
2020-10-05 13:12:00 +02:00
|
|
|
compileSdkVersion 30
|
2020-01-24 16:23:31 +01:00
|
|
|
buildToolsVersion '29.0.2'
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
jniLibs.srcDirs = ['./src/main/libs']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
defaultConfig {
|
2020-10-05 13:12:00 +02:00
|
|
|
minSdkVersion 21
|
|
|
|
targetSdkVersion 30
|
|
|
|
}
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
2020-01-24 16:23:31 +01:00
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
aaptOptions {
|
|
|
|
cruncherEnabled = false
|
|
|
|
}
|
|
|
|
|
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
}
|
|
|
|
|
|
|
|
packagingOptions {
|
|
|
|
exclude 'assets/arm/obfs4proxy' //this is redundant
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
|
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
|
|
|
2020-10-05 13:12:00 +02:00
|
|
|
implementation 'org.torproject:tor-android-binary:0.4.3.6-actual'
|
|
|
|
|
|
|
|
implementation 'info.pluggabletransports.aptds:apt-dispatch-library:1.0.9'
|
|
|
|
implementation 'info.pluggabletransports.aptds:apt-meek-obfs4-legacy:1.0.9'
|
2020-01-24 16:23:31 +01:00
|
|
|
implementation 'info.pluggabletransports.aptds:jsocksAndroid:1.0.4'
|
|
|
|
|
|
|
|
implementation 'com.jaredrummler:android-shell:1.0.0'
|
|
|
|
implementation fileTree(dir: 'libs', include: ['.so'])
|
2020-10-05 13:12:00 +02:00
|
|
|
testImplementation 'junit:junit:4.13'
|
2020-01-24 16:23:31 +01:00
|
|
|
|
|
|
|
implementation 'com.offbynull.portmapper:portmapper:2.0.5'
|
|
|
|
|
2020-10-05 13:12:00 +02:00
|
|
|
implementation 'info.guardianproject:jtorctl:0.4'
|
|
|
|
|
2020-01-24 16:23:31 +01:00
|
|
|
}
|