Skip to content

Commit 77c7575

Browse files
committed
Fix build workflow
1 parent 9b32e9d commit 77c7575

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

.github/workflows/gradle-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v2
1616

17-
- name: Set up JDK 16
17+
- name: Set up JDK 17
1818
uses: actions/setup-java@v2
1919
with:
2020
distribution: adopt
21-
java-version: 16
21+
java-version: 17
2222
cache: gradle
2323

2424
- name: Grant execute permission for gradlew

.github/workflows/publish-packages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v2
1616

17-
- name: Set up JDK 16
17+
- name: Set up JDK 17
1818
uses: actions/setup-java@v2
1919
with:
2020
distribution: adopt
21-
java-version: 16
21+
java-version: 17
2222
cache: gradle
2323

2424
- name: Grant execute permission for gradlew

build.gradle.kts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import Com_mineinabyss_conventions_platform_gradle.Deps
21
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
32

43
val idofrontVersion: String by project
@@ -17,13 +16,12 @@ plugins {
1716
tasks.withType<KotlinCompile> {
1817
kotlinOptions {
1918
freeCompilerArgs = listOf(
20-
"-Xopt-in=kotlinx.serialization.ExperimentalSerializationApi"
19+
"-opt-in=kotlinx.serialization.ExperimentalSerializationApi"
2120
)
2221
jvmTarget = "17"
2322
}
2423
}
2524

26-
2725
repositories {
2826
mavenCentral()
2927
google()

0 commit comments

Comments
 (0)