From f15c153bf094118596e7c6d0893e5afac8ee5e94 Mon Sep 17 00:00:00 2001 From: n8fr8 Date: Fri, 17 Nov 2017 12:34:06 -0500 Subject: [PATCH] update to support building of aar archives --- tor-android-binary/build.gradle | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/tor-android-binary/build.gradle b/tor-android-binary/build.gradle index 8c780cc4..e27acbe4 100644 --- a/tor-android-binary/build.gradle +++ b/tor-android-binary/build.gradle @@ -32,3 +32,18 @@ dependencies { 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" + } + } +} +