apply plugin: 'com.android.library' android { compileSdkVersion 27 buildToolsVersion '28.0.2' /** sourceSets { main { jni.srcDirs = [] } }**/ defaultConfig { minSdkVersion 16 targetSdkVersion 27 versionCode 34700 versionName "0.3.4.7-rc" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.so']) } apply plugin: 'maven' uploadArchives { repositories.mavenDeployer { def deployPath = file(getProperty('aar.deployPath')) repository(url: "file://${deployPath.absolutePath}") pom.project { groupId 'org.torproject' artifactId 'tor-android-binary' version "0.3.4.8-2" } } }