Skip to content

Commit f95aea7

Browse files
committed
Update gradle with variables
1 parent 9b73ab1 commit f95aea7

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

AndroidPatterns/build.gradle

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ plugins {
55
}
66

77
afterEvaluate {
8+
def sdkVersion = '1.0.1'
9+
def sdkGroupId = 'io.husseinhj'
810
def artifactsId = 'androidpatterns'
911

1012
publishing {
@@ -13,22 +15,22 @@ afterEvaluate {
1315
from components.release
1416

1517
// Replace with your own group ID.
16-
groupId 'io.husseinhj'
18+
groupId sdkGroupId
1719

1820
// Replace with the name of your library
1921
artifactId artifactsId
20-
version '1.0.0'
22+
version sdkVersion
2123
}
2224

2325
debug(MavenPublication) {
2426
from components.debug
2527

2628
// Replace with your own group ID.
27-
groupId 'io.husseinhj'
29+
groupId sdkGroupId
2830

2931
// Replace with the name of your library
3032
artifactId "${artifactsId}-debug"
31-
version '1.0.0'
33+
version sdkVersion
3234
}
3335
}
3436

0 commit comments

Comments
 (0)