Skip to content

Commit 392abe9

Browse files
authored
Merge pull request #573 from lunatech-labs/upgrade-java-17
Upgrade the build to java 17
2 parents 9b8f1e8 + 988d6a7 commit 392abe9

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14-
- name: Set up JDK 11
14+
- name: Set up JDK 17
1515
uses: actions/setup-java@v4
1616
with:
17-
java-version: 11
17+
java-version: 17
1818
distribution: 'adopt'
1919

2020
- name: Setup Gradle
@@ -34,10 +34,10 @@ jobs:
3434
node-version: 12.x
3535
- name: Install dependencies
3636
run: npm install
37-
# - name: Test
38-
# run: npm test
39-
# env:
40-
# CI: true
37+
# - name: Test
38+
# run: npm test
39+
# env:
40+
# CI: true
4141
- name: Generate build
4242
run: npm run build
4343
env:

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ plugins {
2020
group 'com.lunatech'
2121
version '0.0.1'
2222
mainClassName = "io.ktor.server.netty.EngineMain"
23-
sourceCompatibility = JavaVersion.VERSION_11
24-
targetCompatibility = JavaVersion.VERSION_11
23+
sourceCompatibility = JavaVersion.VERSION_17
24+
targetCompatibility = JavaVersion.VERSION_17
2525

2626
sourceSets {
2727
main.kotlin.srcDirs = main.java.srcDirs = ['src/main']
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
#Fri Apr 26 11:42:52 CEST 2024
12
distributionBase=GRADLE_USER_HOME
23
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
45
zipStoreBase=GRADLE_USER_HOME
56
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)