Skip to content

Commit 031394d

Browse files
authored
chore: upgrade gradle version (#25)
1 parent 096bb4b commit 031394d

File tree

5 files changed

+32
-15
lines changed

5 files changed

+32
-15
lines changed

README.md

+24-12
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,34 @@
1-
# ☕🚀 Java Basic Skeleton: Save the boilerplate in your new projects
1+
<p align="center">
2+
<a href="https://codely.com">
3+
<picture>
4+
<source media="(prefers-color-scheme: dark)" srcset="https://codely.com/logo/codely_logo-dark.svg">
5+
<source media="(prefers-color-scheme: light)" srcset="https://codely.com/logo/codely_logo-light.svg">
6+
<img alt="Codely logo" src="https://codely.com/logo/codely_logo.svg">
7+
</picture>
8+
</a>
9+
</p>
10+
11+
<h1 align="center">
12+
☕🚀 Java Basic Skeleton: Save the boilerplate in your new projects
13+
</h1>
14+
15+
<p align="center">
16+
<a href="https://github.com/CodelyTV"><img src="https://img.shields.io/badge/Codely-OS-green.svg?style=flat-square" alt="Codely Open Source projects"/></a>
17+
<a href="https://pro.codely.com"><img src="https://img.shields.io/badge/Codely-Pro-black.svg?style=flat-square" alt="Codely Pro courses"/></a>
18+
<a href="https://github.com/CodelyTV/java-basic-skeleton/actions"><img src="https://github.com/CodelyTV/java-basic-skeleton/workflows/Main%20Workflow/badge.svg" alt="Workflow Status"></a>
19+
</p>
220

3-
<img src="http://codely.tv/wp-content/uploads/2016/05/cropped-logo-codelyTV.png" align="left" width="192px" height="192px"/>
4-
<img align="left" width="0" height="192px" hspace="10"/>
521

622
> ⚡ Start your Java projects as fast as possible
723
8-
[![CodelyTV](https://img.shields.io/badge/codely-tv-green.svg?style=flat-square)](https://codely.tv)
9-
[![Workflow Status](https://github.com/CodelyTV/java-basic-skeleton/workflows/Main%20Workflow/badge.svg)](https://github.com/CodelyTV/java-basic-skeleton/actions)
10-
1124
## ℹ️ Introduction
1225

1326
This is a repository intended to serve as a starting point if you want to bootstrap a Java project with JUnit and Gradle.
1427

1528
## 🏁 How To Start
1629

17-
1. Install Java 17: `brew install corretto` or download it [here](https://docs.aws.amazon.com/corretto/latest/corretto-17-ug/downloads-list.html)
18-
2. Set it as your default JVM: `export JAVA_HOME='/Library/Java/JavaVirtualMachines/amazon-corretto-17.jdk/Contents/Home'`
30+
1. Install Java: `brew install corretto` or download it [here](https://docs.aws.amazon.com/corretto/)
31+
2. Set it as your default JVM: `export JAVA_HOME='/Library/Java/JavaVirtualMachines/amazon-corretto-$JAVA_VERSION$.jdk/Contents/Home'`
1932
3. Clone this repository: `git clone https://github.com/CodelyTV/java-basic-skeleton`.
2033
4. Execute some [Gradle lifecycle tasks](https://docs.gradle.org/current/userguide/java_plugin.html#lifecycle_tasks) in order to check everything is OK:
2134
1. Create [the project JAR](https://docs.gradle.org/current/userguide/java_plugin.html#sec:jar): `make build`
@@ -24,10 +37,9 @@ This is a repository intended to serve as a starting point if you want to bootst
2437

2538
## ☝️ How to update dependencies
2639

27-
* Gradle (current version: 5.6 - [releases](https://gradle.org/releases/)):
28-
`./gradlew wrapper --gradle-version=5.6 --distribution-type=bin` or modifying the [gradle-wrapper.properties](gradle/wrapper/gradle-wrapper.properties#L3)
29-
* JUnit (current version: 5.5.1 - [releases](https://junit.org/junit5/docs/snapshot/release-notes/index.html)):
30-
[`build.gradle:11`](build.gradle#L11-L12)
40+
* Gradle (current version: 8.9 - [releases](https://gradle.org/releases/)):
41+
`./gradlew wrapper --gradle-version=8.9 --distribution-type=bin` or modifying the [gradle-wrapper.properties](gradle/wrapper/gradle-wrapper.properties#L3)
42+
* JUnit (current version: 5.8.2 - [releases](https://junit.org/junit5/docs/snapshot/release-notes/index.html)): [`build.gradle:14`](build.gradle#L14-L15)
3143

3244
## 💡 Related repositories
3345

gradle/wrapper/gradle-wrapper.jar

51 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

+1-1
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.7-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

+5-2
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,8 @@ 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
90+
' "$PWD" ) || exit
8891

8992
# Use the maximum available, or set MAX_FD != -1 to use that value.
9093
MAX_FD=maximum

gradlew.bat

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
@rem See the License for the specific language governing permissions and
1414
@rem limitations under the License.
1515
@rem
16+
@rem SPDX-License-Identifier: Apache-2.0
17+
@rem
1618

1719
@if "%DEBUG%"=="" @echo off
1820
@rem ##########################################################################

0 commit comments

Comments
 (0)