Skip to content

Commit f156963

Browse files
committed
chore: use graal VM AOT Compiler
1 parent 44f15f0 commit f156963

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/gradle-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424

2525
steps:
2626
- uses: actions/checkout@v4
27-
- name: Set up JDK 17
27+
- name: Set up GraalVM JDK 17
2828
uses: actions/setup-java@v4
2929
with:
3030
java-version: '17'
31-
distribution: 'temurin'
31+
distribution: 'graalvm'
3232
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
3333
settings-path: ${{ github.workspace }} # location for the settings.xml file
3434

@@ -46,7 +46,7 @@ jobs:
4646
run: chmod +x ./gradlew
4747

4848
- name: Build with Gradle
49-
run: ./gradlew build
49+
run: ./gradlew build nativeCompile
5050

5151
- name: Build Docker image # repo 이름이 소문자여야됨.
5252
run: |

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ plugins {
22
id 'java'
33
id 'org.springframework.boot' version '3.3.4'
44
id 'io.spring.dependency-management' version '1.1.6'
5+
id 'org.graalvm.buildtools.native' version '0.10.6'
56
}
67

78
group = 'com.example'

0 commit comments

Comments
 (0)