Skip to content

Commit f53b34b

Browse files
authored
Update to Java 11 (#56)
1 parent 565f69f commit f53b34b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
FROM openjdk:8-slim-buster
1+
FROM openjdk:11-slim-buster
22
WORKDIR /app

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ Here you have the [course on CodelyTV Pro where we explain step by step all this
1616

1717
## 🏁 How To Start
1818

19-
1. Install Java 8: `brew cask install corretto8`
20-
2. Set it as your default JVM: `export JAVA_HOME='/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home'`
19+
1. Install Java 11: `brew cask install corretto`
20+
2. Set it as your default JVM: `export JAVA_HOME='/Library/Java/JavaVirtualMachines/amazon-corretto-11.jdk/Contents/Home'`
2121
3. Clone this repository: `git clone https://github.com/CodelyTV/java-ddd-skeleton`.
2222
4. Bring up the Docker environment: `make up`.
2323
5. Execute some [Gradle lifecycle tasks](https://docs.gradle.org/current/userguide/java_plugin.html#lifecycle_tasks) in order to check everything is OK:

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ allprojects {
44
apply plugin: 'io.spring.dependency-management'
55
apply plugin: 'org.springframework.boot'
66

7-
sourceCompatibility = 1.8
8-
targetCompatibility = 1.8
7+
sourceCompatibility = 11
8+
targetCompatibility = 11
99

1010
repositories {
1111
mavenCentral()

0 commit comments

Comments
 (0)