Skip to content

Commit cdf086f

Browse files
author
David McFall
committed
Fixing java version
1 parent 72e0624 commit cdf086f

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
uses: actions/setup-java@v2
5050
with:
5151
distribution: zulu
52-
java-version: 8
52+
java-version: 11
5353

5454
# Check out current repository
5555
- name: Fetch Sources
@@ -95,7 +95,7 @@ jobs:
9595
uses: actions/setup-java@v2
9696
with:
9797
distribution: zulu
98-
java-version: 8
98+
java-version: 11
9999

100100
# Check out current repository
101101
- name: Fetch Sources
@@ -158,7 +158,7 @@ jobs:
158158
uses: actions/setup-java@v2
159159
with:
160160
distribution: zulu
161-
java-version: 8
161+
java-version: 11
162162

163163
# Check out current repository
164164
- name: Fetch Sources

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: actions/setup-java@v2
2020
with:
2121
distribution: zulu
22-
java-version: 8
22+
java-version: 11
2323

2424
# Check out current repository
2525
- name: Fetch Sources
@@ -45,7 +45,7 @@ jobs:
4545
uses: actions/setup-java@v2
4646
with:
4747
distribution: zulu
48-
java-version: 8
48+
java-version: 11
4949

5050
# Check out current repository
5151
- name: Fetch Sources

build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,15 @@ detekt {
7272
tasks {
7373
// Set the compatibility versions to 1.8
7474
withType<JavaCompile> {
75-
sourceCompatibility = "1.8"
76-
targetCompatibility = "1.8"
75+
sourceCompatibility = "11"
76+
targetCompatibility = "11"
7777
}
7878
withType<KotlinCompile> {
79-
kotlinOptions.jvmTarget = "1.8"
79+
kotlinOptions.jvmTarget = "11"
8080
}
8181

8282
withType<Detekt> {
83-
jvmTarget = "1.8"
83+
jvmTarget = "11"
8484
}
8585

8686
patchPluginXml {

0 commit comments

Comments
 (0)