diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3872d9b..2f9da0d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,12 +10,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Set up JDK 8 - uses: actions/setup-java@v3 + - uses: actions/checkout@v4 + - name: Set up JDK + uses: actions/setup-java@v4 with: - java-version: '8' - distribution: 'adopt' + java-version: "17" + distribution: "corretto" + cache: "gradle" - name: Validate Gradle wrapper uses: gradle/wrapper-validation-action@v1 - name: Build with Gradle diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e1f5674..c839f40 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,12 +8,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Set up Java - uses: actions/setup-java@v3 + - uses: actions/checkout@v4 + - name: Set up JDK + uses: actions/setup-java@v4 with: - java-version: '8' - distribution: 'adopt' + java-version: "17" + distribution: "corretto" + cache: "gradle" - name: Validate Gradle wrapper uses: gradle/wrapper-validation-action@v1 - name: Grant execute permission for gradlew diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9baa1fb..4437b68 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,12 +10,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Set up JDK 8 - uses: actions/setup-java@v3 + - uses: actions/checkout@v4 + - name: Set up JDK + uses: actions/setup-java@v4 with: - java-version: '8' - distribution: 'adopt' + java-version: "17" + distribution: "corretto" + cache: "gradle" - name: Validate Gradle wrapper uses: gradle/wrapper-validation-action@v1 - name: Run the Gradle package task diff --git a/README.md b/README.md index 614b2c8..fc9ff7a 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ ### Java Version Requirement -Java 8+ is required to use sdk. not support Java 8 below +Java 17+ is required to use sdk. not support Java 17 below ## Getting Started