2016-06-29 04:20:20 +00:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
|
|
|
|
android {
|
2017-03-02 04:08:48 +00:00
|
|
|
compileSdkVersion 25
|
2017-10-31 13:42:01 +00:00
|
|
|
buildToolsVersion '26.0.2'
|
2016-06-29 04:20:20 +00:00
|
|
|
|
2016-10-05 03:46:17 +00:00
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
jni.srcDirs = []
|
2017-06-09 10:08:05 +00:00
|
|
|
|
2016-10-05 03:46:17 +00:00
|
|
|
}
|
|
|
|
}
|
2016-09-29 16:00:26 +00:00
|
|
|
|
2016-06-29 04:20:20 +00:00
|
|
|
defaultConfig {
|
2017-03-02 04:08:48 +00:00
|
|
|
minSdkVersion 16
|
|
|
|
targetSdkVersion 25
|
2016-06-29 04:20:20 +00:00
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
2016-10-05 03:46:17 +00:00
|
|
|
|
2016-06-29 04:20:20 +00:00
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2017-11-17 15:40:46 +00:00
|
|
|
compile 'com.android.support:appcompat-v7:25.4.0'
|
2017-10-14 16:19:17 +00:00
|
|
|
compile 'com.jrummyapps:android-shell:1.0.1'
|
2016-10-05 03:46:17 +00:00
|
|
|
compile fileTree(dir: 'libs', include: ['*.jar','*.so'])
|
2016-06-29 04:20:20 +00:00
|
|
|
testCompile 'junit:junit:4.12'
|
|
|
|
}
|
2017-11-17 17:34:06 +00:00
|
|
|
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|