Skip to content

Commit d258c3b

Browse files
authored
chore: Publish SDK to Maven Central #WPB-17132
2 parents 997b7d7 + b04a30e commit d258c3b

File tree

3 files changed

+21
-5
lines changed

3 files changed

+21
-5
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,7 @@ jobs:
1414
distribution: 'zulu'
1515
java-version: '17'
1616
- name: Publish to MavenCentral
17-
# publishToMavenCentral - Needs manual check after it was deployed to Maven Central
18-
# publishAndReleaseToMavenCentral - Fully automated deployment and publishing, to be used
19-
# after first verification.
20-
run: ./gradlew publishToMavenCentral --no-configuration-cache --info
17+
run: ./gradlew publishAndReleaseToMavenCentral --no-configuration-cache --info
2118
env:
2219
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
2320
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ lib/cryptography
1414
*.ipr
1515
*.iws
1616

17+
# Ignore local environment/properties files
18+
.env
19+
1720
# Ignore Gradle generated folder
1821
.kotlin
1922

lib/build.gradle.kts

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ plugins {
3131
}
3232

3333
group = "com.wire.integrations"
34-
version = "0.0.1-SNAPSHOT"
34+
version = "0.0.1"
3535
val artifactId = "wire-apps-jvm-sdk"
3636

3737
repositories {
@@ -149,6 +149,22 @@ mavenPublishing {
149149
distribution = "https://www.gnu.org/licenses/gpl-3.0.en.html"
150150
}
151151
}
152+
developers {
153+
developer {
154+
id = "alexandreferris"
155+
name = "Alexandre Ferris"
156+
url = "https://github.com/alexandreferris"
157+
organization = "Wire Germany GmbH"
158+
organizationUrl = "https://wire.com/"
159+
}
160+
developer {
161+
id = "spoonman01"
162+
name = "Luca Rospocher"
163+
url = "https://github.com/spoonman01"
164+
organization = "Wire Germany GmbH"
165+
organizationUrl = "https://wire.com/"
166+
}
167+
}
152168
scm {
153169
url = "https://github.com/wireapp/wire-apps-jvm-sdk"
154170
connection = "scm:git:git://github.com/wireapp/wire-apps-jvm-sdk.git"

0 commit comments

Comments
 (0)