There was an error while loading. Please reload this page.
1 parent 6ed0a50 commit 4da3a62Copy full SHA for 4da3a62
2 files changed
build.gradle
@@ -23,4 +23,10 @@ allprojects {
23
24
task clean(type: Delete) {
25
delete rootProject.buildDir
26
+}
27
+
28
29
+ext {
30
+ libVersion = '1.0.1'
31
+ libId = 'com.github.rosuH'
32
}
library/build.gradle
@@ -4,8 +4,9 @@ plugins {
4
id 'maven-publish'
5
6
7
-group = 'com.github.rosuH'
8
-version = '1.1'
+group = rootProject.ext.libId
+version = rootProject.ext.libVersion
9
10
11
android {
12
compileSdkVersion 30
@@ -53,9 +54,9 @@ afterEvaluate {
53
54
from components.release
55
56
// You can then customize attributes of the publication as shown below.
- groupId = 'com.github.rosuH'
57
+ groupId = rootProject.ext.libId
58
artifactId = 'final'
- version = '1.1'
59
+ version = rootProject.ext.libVersion
60
61
62
0 commit comments