apply plugin: 'com.android.library' android { compileSdkVersion 25 buildToolsVersion '26.0.2' sourceSets { main { jni.srcDirs = [] } } defaultConfig { minSdkVersion 16 targetSdkVersion 25 versionCode 3210 versionName "0.3.2.10" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar','*.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.1.9b" } } }