apply plugin: 'com.android.library' android { compileSdkVersion 30 buildToolsVersion '29.0.2' sourceSets { main { jniLibs.srcDirs = ['./src/main/libs'] } } defaultConfig { minSdkVersion 21 targetSdkVersion 30 } 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 { abortOnError false } 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.3.6-actual' implementation 'info.pluggabletransports.aptds:apt-dispatch-library:1.0.9' implementation 'info.pluggabletransports.aptds:apt-meek-obfs4-legacy:1.0.9' 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.13' implementation 'com.offbynull.portmapper:portmapper:2.0.5' implementation 'info.guardianproject:jtorctl:0.4' }