Skip to content

Commit cb25831

Browse files
committed
Add in pom information required for maven central
1 parent b279e17 commit cb25831

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ def configurePom(pom) {
4949
distribution = POM_LICENCE_DIST
5050
}
5151
}
52+
53+
pom.developers {
54+
developer {
55+
id = POM_DEVELOPER_ID
56+
name = POM_DEVELOPER_NAME
57+
}
58+
}
5259
}
5360

5461
publishing {
@@ -73,6 +80,7 @@ publishing {
7380
artifact ("deploy/javadoc.jar") {
7481
classifier 'javadoc'
7582
}
83+
configurePom(pom)
7684
}
7785
}
7886

gradle.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ POM_LICENCE_NAME=The 3-Clause BSD License
1515
POM_LICENCE_URL=https://opensource.org/license/bsd-3-clause/
1616
POM_LICENCE_DIST=repo
1717

18+
POM_DEVELOPER_ID=webrtc-sdk
19+
POM_DEVELOPER_NAME=webrtc-sdk
20+
1821
RELEASE_REPOSITORY_URL=https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
1922
SNAPSHOT_REPOSITORY_URL=https://s01.oss.sonatype.org/content/repositories/snapshots/
2023
# Variables required to allow build.gradle to parse for publishing.

0 commit comments

Comments
 (0)