Skip to content

Commit b7d2022

Browse files
authored
Merge pull request #1709 from OneSignal/user-model/module-name
[User Model] Add name to each module for maven publish pom
2 parents 69f43ca + e5e8196 commit b7d2022

File tree

6 files changed

+7
-1
lines changed

6 files changed

+7
-1
lines changed

OneSignalSDK/onesignal/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ android {
2828
}
2929

3030
ext {
31+
projectName = "OneSignal SDK"
3132
projectDescription = "OneSignal Android SDK - All Modules"
3233
}
3334

OneSignalSDK/onesignal/core/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ tasks.withType(Test) {
5353
}
5454

5555
ext {
56+
projectName = "OneSignal SDK Core"
5657
projectDescription = "OneSignal Android SDK - Core Module"
5758
}
5859

OneSignalSDK/onesignal/in-app-messages/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ tasks.withType(Test) {
5353
}
5454

5555
ext {
56+
projectName = "OneSignal SDK InAppMessages"
5657
projectDescription = "OneSignal Android SDK - In App Messages Module"
5758
}
5859

OneSignalSDK/onesignal/location/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ tasks.withType(Test) {
5353
}
5454

5555
ext {
56+
projectName = "OneSignal SDK Location"
5657
projectDescription = "OneSignal Android SDK - Location Module"
5758
}
5859

OneSignalSDK/onesignal/maven-push.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,9 @@ afterEvaluate {
6969
from components.release
7070

7171
pom {
72-
packaging = Global.POM_PACKAGING
72+
name = projectName
7373
description = projectDescription
74+
packaging = Global.POM_PACKAGING
7475
url = Global.POM_URL
7576

7677
scm {

OneSignalSDK/onesignal/notifications/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ tasks.withType(Test) {
5353
}
5454

5555
ext {
56+
projectName = "OneSignal SDK Notifications"
5657
projectDescription = "OneSignal Android SDK - Notifications Module"
5758
}
5859

0 commit comments

Comments
 (0)