Skip to content

Commit ada6d54

Browse files
committed
1 parent cfa1625 commit ada6d54

File tree

8 files changed

+129
-122
lines changed

8 files changed

+129
-122
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
gradlew eol=lf
2+
*.sh eol=lf
3+
*.bat eol=crlf

.github/workflows/gradle.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
env:
2121
ACTUAL_REF: ${{ github.ref }}
2222

23-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@v5
2424
with:
2525
ref: ${{ github.ref }}
2626

@@ -36,15 +36,15 @@ jobs:
3636
needs: publish_vars
3737

3838
steps:
39-
- uses: actions/checkout@v4
39+
- uses: actions/checkout@v5
4040

41-
- uses: actions/setup-java@v4
41+
- uses: actions/setup-java@v5
4242
with:
4343
distribution: temurin
4444
java-version: 11
4545

4646
- name: Setup Gradle
47-
uses: gradle/actions/setup-gradle@v3
47+
uses: gradle/actions/setup-gradle@v5
4848

4949
- name: Prepare Gradle Arguments
5050
run: |
@@ -60,12 +60,12 @@ jobs:
6060
- name: Build with Gradle
6161
run: ./gradlew $GRADLE_ARGS
6262

63-
- uses: actions/upload-artifact@v4
63+
- uses: actions/upload-artifact@v5
6464
with:
6565
name: app-main
6666
path: build/libs/app-main.jar
6767

68-
- uses: codecov/codecov-action@v4
68+
- uses: codecov/codecov-action@v5
6969
continue-on-error: true
7070
with:
7171
token: ${{ secrets.CODECOV_TOKEN }}
@@ -94,17 +94,17 @@ jobs:
9494
runs-on: ubuntu-latest
9595
needs: build
9696
steps:
97-
- uses: actions/checkout@v4
97+
- uses: actions/checkout@v5
9898

99-
- uses: actions/setup-java@v4
99+
- uses: actions/setup-java@v5
100100
with:
101101
distribution: temurin
102102
java-version: 11
103103

104104
- name: Setup Gradle
105-
uses: gradle/actions/setup-gradle@v3
105+
uses: gradle/actions/setup-gradle@v5
106106

107-
- uses: actions/download-artifact@v4
107+
- uses: actions/download-artifact@v6
108108
with:
109109
name: app-main
110110
path: build/libs/
@@ -125,7 +125,7 @@ jobs:
125125
SLACK_ICON: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
126126
SLACK_COLOR: ${{ job.status }}
127127

128-
- uses: actions/upload-artifact@v4
128+
- uses: actions/upload-artifact@v5
129129
if: always() && steps.selenium.conclusion != 'skipped'
130130
with:
131131
name: 'ui-test-report-${{ matrix.suite }}'

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v5
1717
with:
1818
fetch-depth: 0
1919

@@ -30,7 +30,7 @@ jobs:
3030
PREVIOS_RELEASE_TAG: ${{ steps.get_previous_release_tag.outputs.previous_release_tag }}
3131
OUTPUT_FILE: changelog.md
3232

33-
- uses: actions/upload-artifact@v4
33+
- uses: actions/upload-artifact@v5
3434
with:
3535
name: changelog
3636
path: changelog.md
@@ -41,15 +41,15 @@ jobs:
4141
needs: release_notes
4242

4343
steps:
44-
- uses: actions/checkout@v4
44+
- uses: actions/checkout@v5
4545

46-
- uses: actions/setup-java@v4
46+
- uses: actions/setup-java@v5
4747
with:
4848
distribution: temurin
4949
java-version: 11
5050

5151
- name: Setup Gradle
52-
uses: gradle/actions/setup-gradle@v3
52+
uses: gradle/actions/setup-gradle@v5
5353

5454
- name: Get publishing variables
5555
id: publish_vars
@@ -66,7 +66,7 @@ jobs:
6666
run: ./gradlew publish -Pcom.enonic.xp.app.production=true -PrepoKey=${{ steps.publish_vars.outputs.repo }} -PrepoUser=ci -PrepoPassword=${{ secrets.ARTIFACTORY_PASSWORD }}
6767

6868
- name: Download changelog
69-
uses: actions/download-artifact@v4
69+
uses: actions/download-artifact@v6
7070
with:
7171
name: changelog
7272

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# Project settings
33
#
4-
version=7.15.5-SNAPSHOT
4+
version=7.16.0-SNAPSHOT
55
libAdminUiVersion=5.0.3
66

77
systemProp.org.gradle.internal.http.connectionTimeout=120000

gradle/wrapper/gradle-wrapper.jar

-19.5 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717
#
18+
# SPDX-License-Identifier: Apache-2.0
19+
#
1820

1921
##############################################################################
2022
#
@@ -55,7 +57,7 @@
5557
# Darwin, MinGW, and NonStop.
5658
#
5759
# (3) This script is generated from the Groovy template
58-
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
60+
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5961
# within the Gradle project.
6062
#
6163
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -84,7 +86,7 @@ done
8486
# shellcheck disable=SC2034
8587
APP_BASE_NAME=${0##*/}
8688
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
87-
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
8890

8991
# Use the maximum available, or set MAX_FD != -1 to use that value.
9092
MAX_FD=maximum
@@ -112,7 +114,7 @@ case "$( uname )" in #(
112114
NONSTOP* ) nonstop=true ;;
113115
esac
114116

115-
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
117+
CLASSPATH="\\\"\\\""
116118

117119

118120
# Determine the Java command to use to start the JVM.
@@ -145,15 +147,15 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
145147
case $MAX_FD in #(
146148
max*)
147149
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
148-
# shellcheck disable=SC3045
150+
# shellcheck disable=SC2039,SC3045
149151
MAX_FD=$( ulimit -H -n ) ||
150152
warn "Could not query maximum file descriptor limit"
151153
esac
152154
case $MAX_FD in #(
153155
'' | soft) :;; #(
154156
*)
155157
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
156-
# shellcheck disable=SC3045
158+
# shellcheck disable=SC2039,SC3045
157159
ulimit -n "$MAX_FD" ||
158160
warn "Could not set maximum file descriptor limit to $MAX_FD"
159161
esac
@@ -202,16 +204,16 @@ fi
202204
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
203205
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
204206

205-
# Collect all arguments for the java command;
206-
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
207-
# shell script including quotes and variable substitutions, so put them in
208-
# double quotes to make sure that they get re-expanded; and
209-
# * put everything else in single quotes, so that it's not re-expanded.
207+
# Collect all arguments for the java command:
208+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
209+
# and any embedded shellness will be escaped.
210+
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
211+
# treated as '${Hostname}' itself on the command line.
210212

211213
set -- \
212214
"-Dorg.gradle.appname=$APP_BASE_NAME" \
213215
-classpath "$CLASSPATH" \
214-
org.gradle.wrapper.GradleWrapperMain \
216+
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
215217
"$@"
216218

217219
# Stop when "xargs" is not available.

0 commit comments

Comments
 (0)