summaryrefslogtreecommitdiffhomepage
path: root/tunnel
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-03-10 08:58:29 -0600
committerHarsh Shandilya <me@msfjarvis.dev>2020-03-10 22:12:12 +0530
commitde0e431d005244eb331706d1553171bc147b013c (patch)
tree62480709f08dcb6fc7b92213a5e6f5ae72a5d3b8 /tunnel
parent6b304391b52285c1b5cb2c8105c39bfe515f50ef (diff)
build: abstract out groupName
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tunnel')
-rw-r--r--tunnel/build.gradle3
-rw-r--r--tunnel/publish.gradle5
2 files changed, 4 insertions, 4 deletions
diff --git a/tunnel/build.gradle b/tunnel/build.gradle
index 728b6fb2..4d045334 100644
--- a/tunnel/build.gradle
+++ b/tunnel/build.gradle
@@ -1,5 +1,8 @@
apply plugin: 'com.android.library'
+version wireguardVersionName
+group groupName
+
android {
buildToolsVersion '29.0.3'
compileSdkVersion 29
diff --git a/tunnel/publish.gradle b/tunnel/publish.gradle
index 7cb4048c..064a901b 100644
--- a/tunnel/publish.gradle
+++ b/tunnel/publish.gradle
@@ -1,9 +1,6 @@
apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'com.jfrog.bintray'
-version wireguardVersionName
-group 'com.wireguard.android'
-
install {
repositories.mavenInstaller {
pom.project {
@@ -12,7 +9,7 @@ install {
url 'https://www.wireguard.com/'
packaging 'aar'
- groupId 'com.wireguard.android'
+ groupId groupName
artifactId 'tunnel'
version wireguardVersionName