From 2bbb9dd6a968d0ca86b62e457fb8df2ccc21ab70 Mon Sep 17 00:00:00 2001 From: Lasta Apps Date: Sat, 28 Dec 2024 21:28:33 +0200 Subject: [PATCH] build: Gradle 8.12 --- gradle/wrapper/gradle-wrapper.properties | 21 +------------------ gradlew | 26 +++++++++++------------- 2 files changed, 13 insertions(+), 34 deletions(-) diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 9bed7903..cea7a793 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,25 +1,6 @@ -# -# Copyright 2024, Petr La?tovi?ka as Lasta apps, All rights reserved -# -# This file is part of Menza. -# -# Menza is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Menza is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Menza. If not, see . -# - distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/gradlew b/gradlew index 2dfe8d07..f3b75f3b 100755 --- a/gradlew +++ b/gradlew @@ -1,22 +1,21 @@ #!/bin/sh # -# Copyright 2024, Petr Laštovička as Lasta apps, All rights reserved +# Copyright © 2015-2021 the original authors. # -# This file is part of Menza. +# 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 # -# Menza is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# https://www.apache.org/licenses/LICENSE-2.0 # -# Menza is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# 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. # -# You should have received a copy of the GNU General Public License -# along with Menza. If not, see . +# SPDX-License-Identifier: Apache-2.0 # ############################################################################## @@ -87,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