48 lines
1022 B
Groovy
48 lines
1022 B
Groovy
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion 27
|
|
buildToolsVersion '27.0.3'
|
|
|
|
/**
|
|
sourceSets {
|
|
main {
|
|
jni.srcDirs = []
|
|
|
|
}
|
|
}**/
|
|
|
|
defaultConfig {
|
|
minSdkVersion 16
|
|
targetSdkVersion 27
|
|
versionCode 32101
|
|
versionName "0.3.2.10-dev"
|
|
|
|
}
|
|
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.3.5-rc-1"
|
|
}
|
|
}
|
|
}
|
|
|