build: abstract out groupName
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
6b304391b5
commit
de0e431d00
@ -29,6 +29,8 @@ buildscript {
|
|||||||
eddsaVersion = '0.3.0'
|
eddsaVersion = '0.3.0'
|
||||||
bintrayPluginVersion = '1.8.4'
|
bintrayPluginVersion = '1.8.4'
|
||||||
mavenPluginVersion = '2.1'
|
mavenPluginVersion = '2.1'
|
||||||
|
|
||||||
|
groupName = 'com.wireguard.android'
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "com.android.tools.build:gradle:$agpVersion"
|
classpath "com.android.tools.build:gradle:$agpVersion"
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
|
|
||||||
|
version wireguardVersionName
|
||||||
|
group groupName
|
||||||
|
|
||||||
android {
|
android {
|
||||||
buildToolsVersion '29.0.3'
|
buildToolsVersion '29.0.3'
|
||||||
compileSdkVersion 29
|
compileSdkVersion 29
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
apply plugin: 'com.github.dcendents.android-maven'
|
apply plugin: 'com.github.dcendents.android-maven'
|
||||||
apply plugin: 'com.jfrog.bintray'
|
apply plugin: 'com.jfrog.bintray'
|
||||||
|
|
||||||
version wireguardVersionName
|
|
||||||
group 'com.wireguard.android'
|
|
||||||
|
|
||||||
install {
|
install {
|
||||||
repositories.mavenInstaller {
|
repositories.mavenInstaller {
|
||||||
pom.project {
|
pom.project {
|
||||||
@ -12,7 +9,7 @@ install {
|
|||||||
url 'https://www.wireguard.com/'
|
url 'https://www.wireguard.com/'
|
||||||
|
|
||||||
packaging 'aar'
|
packaging 'aar'
|
||||||
groupId 'com.wireguard.android'
|
groupId groupName
|
||||||
artifactId 'tunnel'
|
artifactId 'tunnel'
|
||||||
version wireguardVersionName
|
version wireguardVersionName
|
||||||
|
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
apply plugin: 'com.android.application'
|
apply plugin: 'com.android.application'
|
||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
|
version wireguardVersionName
|
||||||
|
group groupName
|
||||||
|
|
||||||
// Create a variable called keystorePropertiesFile, and initialize it to your
|
// Create a variable called keystorePropertiesFile, and initialize it to your
|
||||||
// keystore.properties file, in the rootProject folder.
|
// keystore.properties file, in the rootProject folder.
|
||||||
final def keystorePropertiesFile = rootProject.file("keystore.properties")
|
final def keystorePropertiesFile = rootProject.file("keystore.properties")
|
||||||
|
Loading…
Reference in New Issue
Block a user