50 lines
1.1 KiB
Groovy
50 lines
1.1 KiB
Groovy
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion 25
|
|
buildToolsVersion '26.0.2'
|
|
|
|
sourceSets {
|
|
main {
|
|
jni.srcDirs = []
|
|
|
|
}
|
|
}
|
|
|
|
defaultConfig {
|
|
minSdkVersion 16
|
|
targetSdkVersion 25
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile 'com.android.support:appcompat-v7:25.4.0'
|
|
compile 'com.jrummyapps:android-shell:1.0.1'
|
|
compile fileTree(dir: 'libs', include: ['*.jar','*.so'])
|
|
testCompile 'junit:junit:4.12'
|
|
}
|
|
|
|
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"
|
|
}
|
|
}
|
|
}
|
|
|