Skip to content

Commit 3043753

Browse files
santakadevrgomezcasas
authored andcommitted
Upgrade Java to 17 LTS version
1 parent 419ed99 commit 3043753

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.github/workflows/workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
- uses: actions/setup-java@v1
1414
with:
15-
java-version: 11
15+
java-version: 17
1616

1717
- name: Assemble
1818
run: ./gradlew assemble --warning-mode all

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ This is a repository intended to serve as a starting point if you want to bootst
1414

1515
## 🏁 How To Start
1616

17-
1. Install Java 11: `brew cask install corretto` or download it [here](https://docs.aws.amazon.com/corretto/latest/corretto-11-ug/downloads-list.html)
18-
2. Set it as your default JVM: `export JAVA_HOME='/Library/Java/JavaVirtualMachines/amazon-corretto-11.jdk/Contents/Home'`
17+
1. Install Java 17: `brew cask install corretto` or download it [here](https://docs.aws.amazon.com/corretto/latest/corretto-11-ug/downloads-list.html)
18+
2. Set it as your default JVM: `export JAVA_HOME='/Library/Java/JavaVirtualMachines/amazon-corretto-17.jdk/Contents/Home'`
1919
3. Clone this repository: `git clone https://github.com/CodelyTV/java-basic-skeleton`.
2020
4. Execute some [Gradle lifecycle tasks](https://docs.gradle.org/current/userguide/java_plugin.html#lifecycle_tasks) in order to check everything is OK:
2121
1. Create [the project JAR](https://docs.gradle.org/current/userguide/java_plugin.html#sec:jar): `make build`

build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
apply plugin: 'java'
22

3-
sourceCompatibility = 11
4-
targetCompatibility = 11
3+
sourceCompatibility = 17
4+
targetCompatibility = 17
55

66
repositories {
77
mavenCentral()
88
}
99

1010
dependencies {
11-
implementation 'org.apache.logging.log4j:log4j-core:2.12.1'
12-
implementation 'com.vlkan.log4j2:log4j2-logstash-layout:0.19'
11+
implementation 'org.apache.logging.log4j:log4j-core:2.17.0'
12+
implementation 'com.vlkan.log4j2:log4j2-logstash-layout:1.0.5'
1313

14-
testCompile 'org.junit.jupiter:junit-jupiter-api:5.5.1'
15-
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.5.1'
14+
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
15+
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
1616
}
1717

1818
test {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)