2022-02-12 11:16:57 +01:00
|
|
|
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'
|
|
|
|
}
|
|
|
|
}
|
2022-03-14 21:55:07 +01:00
|
|
|
packagingOptions {
|
|
|
|
resources {
|
|
|
|
excludes += ['META-INF/androidx.localbroadcastmanager_localbroadcastmanager.version']
|
|
|
|
}
|
2022-02-12 11:16:57 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2022-03-14 21:55:07 +01:00
|
|
|
lint {
|
|
|
|
abortOnError true
|
|
|
|
checkReleaseBuilds false
|
2022-02-12 11:16:57 +01:00
|
|
|
htmlReport true
|
2022-03-14 21:55:07 +01:00
|
|
|
lintConfig file('../lint.xml')
|
2022-02-12 11:16:57 +01:00
|
|
|
textReport false
|
2022-03-14 21:55:07 +01:00
|
|
|
xmlReport false
|
2022-02-12 11:16:57 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.1.0'
|
|
|
|
implementation 'com.gitlab.guardianproject:jsocksandroid:1.0.4'
|
|
|
|
|
|
|
|
implementation 'com.jaredrummler:android-shell:1.0.0'
|
|
|
|
|
|
|
|
implementation 'androidx.core:core:1.7.0'
|
|
|
|
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.1.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'
|
|
|
|
}
|