update to support building of aar archives

This commit is contained in:
n8fr8 2017-11-17 12:34:06 -05:00
parent 9b8d8719b6
commit f15c153bf0
1 changed files with 15 additions and 0 deletions

View File

@ -32,3 +32,18 @@ dependencies {
compile fileTree(dir: 'libs', include: ['*.jar','*.so']) compile fileTree(dir: 'libs', include: ['*.jar','*.so'])
testCompile 'junit:junit:4.12' 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"
}
}
}