Skip to content

Commit 374787c

Browse files
authored
Merge pull request #85 from jakzal/gradle-8.0
Update gradle (7.6 -> 8.0)
2 parents 4383cc6 + a4a22e4 commit 374787c

File tree

7 files changed

+16
-21
lines changed

7 files changed

+16
-21
lines changed

.github/workflows/build.yml

+1-9
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,7 @@ jobs:
1717
gradle-version: [ 'current' ]
1818
kotlin-version: [ '' ]
1919
include:
20-
- gradle-version: '6.5.1'
21-
kotlin-version: '1.3.72'
22-
- gradle-version: '6.8.3'
23-
kotlin-version: '1.4.32'
24-
- gradle-version: '7.1.1'
25-
kotlin-version: '1.4.32'
26-
- gradle-version: '7.2'
27-
kotlin-version: '1.5.30'
28-
- gradle-version: '7.5.1'
20+
- gradle-version: '7.6'
2921
kotlin-version: '1.7.20'
3022
runs-on: ubuntu-latest
3123
steps:

build.gradle.kts

+3-6
Original file line numberDiff line numberDiff line change
@@ -40,22 +40,19 @@ dependencies {
4040
}
4141

4242
gradlePlugin {
43+
website.set("https://github.com/jakzal/gradle-structurizr-cli")
44+
vcsUrl.set("https://github.com/jakzal/gradle-structurizr-cli.git")
4345
plugins {
4446
create("structurizrCli") {
4547
id = "pl.zalas.structurizr-cli"
4648
displayName = "Gradle Structurizr CLI plugin"
4749
implementationClass = "pl.zalas.gradle.structurizrcli.StructurizrCliPlugin"
4850
description = "Enables Gradle to run Structurizr CLI commands."
51+
tags.set(listOf("structurizr", "structurizr-cli", "task", "diagrams", "diagrams-as-code", "plantuml", "mermaid", "websequencediagrams", "json"))
4952
}
5053
}
5154
}
5255

53-
pluginBundle {
54-
website = "https://github.com/jakzal/gradle-structurizr-cli"
55-
vcsUrl = "https://github.com/jakzal/gradle-structurizr-cli.git"
56-
tags = listOf("structurizr", "structurizr-cli", "task", "diagrams", "diagrams-as-code", "plantuml", "mermaid", "websequencediagrams", "json")
57-
}
58-
5956
val functionalTestSourceSet = sourceSets.create("functionalTest") {
6057
}
6158

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
version=SNAPSHOT
2-
kotlinVersion=1.7.20
2+
kotlinVersion=1.8.10

gradle/wrapper/gradle-wrapper.jar

818 Bytes
Binary file not shown.
+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
4+
networkTimeout=10000
45
zipStoreBase=GRADLE_USER_HOME
56
zipStorePath=wrapper/dists

gradlew

+8-4
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
# Darwin, MinGW, and NonStop.
5656
#
5757
# (3) This script is generated from the Groovy template
58-
# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
58+
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5959
# within the Gradle project.
6060
#
6161
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -80,10 +80,10 @@ do
8080
esac
8181
done
8282

83-
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
84-
85-
APP_NAME="Gradle"
83+
# This is normally unused
84+
# shellcheck disable=SC2034
8685
APP_BASE_NAME=${0##*/}
86+
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
8787

8888
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
8989
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
@@ -143,12 +143,16 @@ fi
143143
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
144144
case $MAX_FD in #(
145145
max*)
146+
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
147+
# shellcheck disable=SC3045
146148
MAX_FD=$( ulimit -H -n ) ||
147149
warn "Could not query maximum file descriptor limit"
148150
esac
149151
case $MAX_FD in #(
150152
'' | soft) :;; #(
151153
*)
154+
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
155+
# shellcheck disable=SC3045
152156
ulimit -n "$MAX_FD" ||
153157
warn "Could not set maximum file descriptor limit to $MAX_FD"
154158
esac

gradlew.bat

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ if "%OS%"=="Windows_NT" setlocal
2626

2727
set DIRNAME=%~dp0
2828
if "%DIRNAME%"=="" set DIRNAME=.
29+
@rem This is normally unused
2930
set APP_BASE_NAME=%~n0
3031
set APP_HOME=%DIRNAME%
3132

0 commit comments

Comments
 (0)