2020-01-24 16:23:31 +01:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
|
|
|
|
android {
|
2020-10-05 13:12:00 +02:00
|
|
|
compileSdkVersion 30
|
2021-02-25 15:26:43 +01:00
|
|
|
buildToolsVersion '30.0.3'
|
2021-04-18 10:37:16 +02:00
|
|
|
ndkVersion '21.4.7075529'
|
2020-01-24 16:23:31 +01:00
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
jniLibs.srcDirs = ['./src/main/libs']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
defaultConfig {
|
2021-04-21 12:05:23 +02:00
|
|
|
minSdkVersion 21
|
|
|
|
targetSdkVersion 31
|
2020-10-05 13:12:00 +02:00
|
|
|
}
|
|
|
|
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 {
|
2021-02-25 15:26:43 +01:00
|
|
|
checkReleaseBuilds false
|
|
|
|
abortOnError true
|
|
|
|
|
|
|
|
htmlReport true
|
|
|
|
xmlReport false
|
|
|
|
textReport false
|
2020-01-24 16:23:31 +01:00
|
|
|
|
2021-02-25 15:26:43 +01:00
|
|
|
lintConfig file("../lint.xml")
|
2020-01-24 16:23:31 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
2021-02-25 15:26:43 +01:00
|
|
|
implementation 'org.torproject:tor-android-binary:0.4.4.6'
|
2020-01-24 16:23:31 +01:00
|
|
|
implementation 'info.pluggabletransports.aptds:jsocksAndroid:1.0.4'
|
|
|
|
implementation 'com.jaredrummler:android-shell:1.0.0'
|
2021-02-25 15:26:43 +01:00
|
|
|
implementation 'androidx.core:core:1.3.2'
|
|
|
|
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
|
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'
|
2021-02-25 15:26:43 +01:00
|
|
|
implementation 'com.github.tladesignz:IPtProxy:0.5.2'
|
2021-03-23 12:52:22 +01:00
|
|
|
testImplementation 'junit:junit:4.13.2'
|
2021-03-06 19:55:24 +01:00
|
|
|
}
|