Skip to content

Commit

Permalink
build: update Gradle and plugins / formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Jendrik Johannes <[email protected]>
  • Loading branch information
jjohannes committed Jan 9, 2025
1 parent a21dc9e commit 58f0a22
Show file tree
Hide file tree
Showing 14 changed files with 19 additions and 31 deletions.
2 changes: 1 addition & 1 deletion pbj-core/gradle/aggregation/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2024 Hedera Hashgraph, LLC
* Copyright (C) 2024-2025 Hedera Hashgraph, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion pbj-core/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
3 changes: 1 addition & 2 deletions pbj-core/gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ done
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
' "$PWD" ) || exit
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
Expand Down
22 changes: 6 additions & 16 deletions pbj-core/hiero-dependency-versions/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2023-2024 Hedera Hashgraph, LLC
* Copyright (C) 2023-2025 Hedera Hashgraph, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -39,15 +39,11 @@ dependencies.constraints {

// The libs of this catalog are used to compile but are not bundled. The user will select
// helidon, which will have the set of these dependencies that are required.
api("io.helidon.webserver:helidon-webserver:$helidon") {
because("io.helidon.webserver")
}
api("io.helidon.webserver:helidon-webserver:$helidon") { because("io.helidon.webserver") }
api("io.helidon.webserver:helidon-webserver-http2:$helidon") {
because("io.helidon.webserver.http2")
}
api("io.helidon.metrics:helidon-metrics-api:$helidon") {
because("io.helidon.metrics.api")
}
api("io.helidon.metrics:helidon-metrics-api:$helidon") { because("io.helidon.metrics.api") }
api("io.helidon.common.features:helidon-common-features-api:$helidon") {
because("io.helidon.common.features.api")
}
Expand All @@ -59,9 +55,7 @@ dependencies.constraints {
api("io.helidon.config:helidon-config-metadata-processor:$helidon") {
because("io.helidon.config.metadata.processor")
}
api("io.helidon.codegen:helidon-codegen-apt:$helidon") {
because("io.helidon.codegen.apt")
}
api("io.helidon.codegen:helidon-codegen-apt:$helidon") { because("io.helidon.codegen.apt") }
api("io.helidon.builder:helidon-builder-codegen:$helidon") {
because("io.helidon.builder.codegen")
}
Expand All @@ -74,9 +68,7 @@ dependencies.constraints {
// Testing only
api("com.google.guava:guava:33.3.1-jre") { because("com.google.common") }
api("com.google.protobuf:protobuf-java:$protobuf") { because("com.google.protobuf") }
api("com.google.protobuf:protobuf-java-util:$protobuf") {
because("com.google.protobuf.util")
}
api("com.google.protobuf:protobuf-java-util:$protobuf") { because("com.google.protobuf.util") }
api("org.assertj:assertj-core:3.23.1") { because("org.assertj.core") }
api("org.junit.jupiter:junit-jupiter-api:$junit5") { because("org.junit.jupiter.api") }
api("org.junit.jupiter:junit-jupiter-engine:$junit5") { because("org.junit.jupiter.engine") }
Expand All @@ -90,9 +82,7 @@ dependencies.constraints {
api("io.helidon.webserver.observe:helidon-webserver-observe-metrics:$helidon") {
because("io.helidon.webserver.observe.metrics")
}
api("io.helidon.webclient:helidon-webclient:$helidon") {
because("io.helidon.webclient")
}
api("io.helidon.webclient:helidon-webclient:$helidon") { because("io.helidon.webclient") }
api("io.helidon.webclient:helidon-webclient-http2:$helidon") {
because("io.helidon.webclient.http2")
}
Expand Down
2 changes: 1 addition & 1 deletion pbj-core/pbj-compiler/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022-2024 Hedera Hashgraph, LLC
* Copyright (C) 2022-2025 Hedera Hashgraph, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2023-2024 Hedera Hashgraph, LLC
* Copyright (C) 2023-2025 Hedera Hashgraph, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2023-2024 Hedera Hashgraph, LLC
* Copyright (C) 2023-2025 Hedera Hashgraph, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion pbj-core/pbj-grpc-helidon-config/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022-2024 Hedera Hashgraph, LLC
* Copyright (C) 2022-2025 Hedera Hashgraph, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion pbj-core/pbj-grpc-helidon/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022-2024 Hedera Hashgraph, LLC
* Copyright (C) 2022-2025 Hedera Hashgraph, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion pbj-core/pbj-runtime/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022-2024 Hedera Hashgraph, LLC
* Copyright (C) 2022-2025 Hedera Hashgraph, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion pbj-core/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022-2024 Hedera Hashgraph, LLC
* Copyright (C) 2022-2025 Hedera Hashgraph, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
3 changes: 1 addition & 2 deletions pbj-integration-tests/gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ done
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
' "$PWD" ) || exit
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
Expand Down
2 changes: 1 addition & 1 deletion pbj-integration-tests/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ buildscript {
}
}

plugins { id("org.hiero.gradle.build") version "0.1.2" }
plugins { id("org.hiero.gradle.build") version "0.2.0" }

dependencyResolutionManagement {
// To use locally built 'pbj-runtime'
Expand Down

0 comments on commit 58f0a22

Please sign in to comment.