Skip to content

Commit 44acbec

Browse files
build: change publishing to use maven central publishing portal (#1281)
Signed-off-by: Jendrik Johannes <jendrik.johannes@gmail.com> Co-authored-by: Roger Barker <roger.barker@swirldslabs.com>
1 parent 888748c commit 44acbec

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/release-push-image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ jobs:
215215
env:
216216
NEXUS_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
217217
NEXUS_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
218-
run: ${GRADLE_EXEC} :block-node-protobuf-sources:releaseMavenCentral -PpublishingPackageGroup=org.hiero.block -PpublishSigningEnabled=true --scan --no-configuration-cache
218+
run: ./gradlew publishAggregationToCentralPortal -PpublishSigningEnabled=true
219219

220220
publish-simulator:
221221
timeout-minutes: 30

gradle/aggregation/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
// SPDX-License-Identifier: Apache-2.0
22
plugins {
3+
id("org.hiero.gradle.feature.publish-maven-central-aggregation")
34
id("org.hiero.gradle.report.code-coverage")
45
id("org.hiero.gradle.check.spotless")
56
id("org.hiero.gradle.check.spotless-kotlin")
67
}
78

89
dependencies {
10+
published(project(":block-node-protobuf-sources"))
11+
912
implementation(project(":block-node-app"))
1013
implementation(project(":simulator"))
1114
implementation(project(":suites"))

0 commit comments

Comments
 (0)