Updated Java version to 13

This commit is contained in:
Obique
2020-03-21 13:35:30 -04:00
parent 965e85fd5e
commit a82dba0c3c
3 changed files with 7 additions and 6 deletions

View File

@@ -13,10 +13,10 @@ jobs:
- uses: actions/checkout@v1
with:
submodules: true
- name: Set up JDK 12
- name: Set up JDK 13
uses: actions/setup-java@v1
with:
java-version: 12
java-version: 13
- name: Build
run: ./gradlew --no-daemon clean test jlink
- name: Docker Login

View File

@@ -16,9 +16,9 @@ jobs:
- uses: actions/checkout@v1
with:
submodules: true
- name: Set up JDK 12
- name: Set up JDK 13
uses: actions/setup-java@v1
with:
java-version: 12
java-version: 13
- name: Test with Gradle
run: ./gradlew --no-daemon test

View File

@@ -10,7 +10,8 @@ plugins {
id("org.beryx.jlink") version "2.17.2"
}
val javaMajorVersion = "12"
val javaMajorVersion = "13"
val kotlinTargetVersion = "12"
application {
mainClassName = "holocore/com.projectswg.holocore.ProjectSWG"
@@ -91,7 +92,7 @@ tasks.named<ShadowJar>("shadowJar") {
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile::class).configureEach {
kotlinOptions {
jvmTarget = javaMajorVersion
jvmTarget = kotlinTargetVersion
}
}