File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -23,4 +23,9 @@ allprojects {
2323
2424task clean (type : Delete ) {
2525 delete rootProject. buildDir
26+ }
27+
28+ ext {
29+ libVersion = ' 1.0.1'
30+ libId = ' com.github.rosuH'
2631}
Original file line number Diff line number Diff line change @@ -5,8 +5,10 @@ plugins {
55 id ' maven-publish'
66}
77
8- group = ' com.github.rosuH'
9- version = ' 1.1'
8+
9+
10+ group = rootProject. ext. libId
11+ version = rootProject. ext. libVersion
1012
1113android {
1214 compileSdkVersion 29
@@ -53,9 +55,9 @@ afterEvaluate {
5355 from components. release
5456
5557 // You can then customize attributes of the publication as shown below.
56- groupId = ' com.github.rosuH '
58+ groupId = rootProject . ext . libId
5759 artifactId = ' final'
58- version = ' 1.1 '
60+ version = rootProject . ext . libVersion
5961 }
6062 }
6163 }
You can’t perform that action at this time.
0 commit comments