Skip to content

Commit c0ae0f5

Browse files
committed
adds bom to ghp releases
Signed-off-by: Oleh Dokuka <[email protected]> Signed-off-by: Oleh Dokuka <[email protected]> Signed-off-by: Oleh Dokuka <[email protected]>
1 parent ee5a934 commit c0ae0f5

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

Diff for: gradle/github-pkg.gradle

+12-14
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
11
subprojects {
22

3-
plugins.withType(JavaLibraryPlugin) {
4-
plugins.withType(MavenPublishPlugin) {
5-
publishing {
6-
repositories {
7-
maven {
8-
name = "GitHubPackages"
9-
url = uri("https://maven.pkg.github.com/rsocket/rsocket-java")
10-
credentials {
11-
username = project.findProperty("gpr.user") ?: System.getenv("GITHUB_ACTOR")
12-
password = project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")
13-
}
3+
plugins.withType(MavenPublishPlugin) {
4+
publishing {
5+
repositories {
6+
maven {
7+
name = "GitHubPackages"
8+
url = uri("https://maven.pkg.github.com/rsocket/rsocket-java")
9+
credentials {
10+
username = project.findProperty("gpr.user") ?: System.getenv("GITHUB_ACTOR")
11+
password = project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")
1412
}
1513
}
1614
}
15+
}
1716

18-
tasks.named("publish").configure {
19-
onlyIf { System.getenv('SKIP_RELEASE') != "true" }
20-
}
17+
tasks.named("publish").configure {
18+
onlyIf { System.getenv('SKIP_RELEASE') != "true" }
2119
}
2220
}
2321
}

0 commit comments

Comments
 (0)