From 1b4d9679d92aa1c0e2c7f751691243cc32a8a8ab Mon Sep 17 00:00:00 2001 From: Alfredo Gutierrez Date: Wed, 7 Aug 2024 18:08:53 -0600 Subject: [PATCH] style fixes Signed-off-by: Alfredo Gutierrez --- .github/workflows/release-automation.yaml | 15 +++++++++++++++ server/build.gradle.kts | 7 +------ 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release-automation.yaml b/.github/workflows/release-automation.yaml index 89e8a6c0e..54db05f87 100644 --- a/.github/workflows/release-automation.yaml +++ b/.github/workflows/release-automation.yaml @@ -1,3 +1,18 @@ +## +# Copyright (C) 2024 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. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +## name: Release Automation on: diff --git a/server/build.gradle.kts b/server/build.gradle.kts index 615686a5e..837197327 100644 --- a/server/build.gradle.kts +++ b/server/build.gradle.kts @@ -42,11 +42,7 @@ testModuleInfo { fun replaceVersion(files: String, match: String) { ant.withGroovyBuilder { - "replaceregexp"( - "match" to match, - "replace" to project.version, - "flags" to "gm" - ) { + "replaceregexp"("match" to match, "replace" to project.version, "flags" to "gm") { "fileset"( "dir" to rootProject.projectDir, "includes" to files, @@ -64,7 +60,6 @@ tasks.register("bumpVersion") { replaceVersion("gradle.properties", "(?<=^version=).+") } - // Docker related tasks var updateDockerEnv =