Skip to content

Commit aea3c5a

Browse files
committed
chore: Java Runtime 52 버전 지원 확대
1 parent 5df8f94 commit aea3c5a

File tree

4 files changed

+14
-25
lines changed

4 files changed

+14
-25
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,8 @@ on:
77
jobs:
88
build:
99
runs-on: ubuntu-latest
10-
1110
steps:
1211
- name: Checkout
1312
uses: actions/checkout@v4
14-
- name: Setup JDK 17
15-
uses: actions/setup-java@v3
16-
with:
17-
distribution: 'temurin'
18-
java-version: '17'
19-
- name: Build with Gradle
20-
run: ./gradlew build
2113
- name: Run tests
2214
run: ./gradlew test

.github/workflows/publish.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,8 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v4
19-
- name: Set up JDK 17
20-
uses: actions/setup-java@v4
21-
with:
22-
java-version: '17'
23-
distribution: 'temurin'
24-
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
25-
settings-path: ${{ github.workspace }} # location for the settings.xml file
26-
2719
- name: Setup Gradle
2820
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
29-
3021
- name: Verify release & deploy configuration
3122
run: ./gradlew jreleaserConfig
3223
env:

build.gradle.kts

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ plugins {
1212

1313
project.description = "Kotlin을 위한 java.time.* 확장 함수 라이브러리"
1414
project.group = "io.github.harryjhin"
15-
project.version = "1.0.0"
15+
project.version = "1.0.1"
1616

1717
repositories {
1818
mavenCentral()
@@ -26,8 +26,17 @@ tasks.test {
2626
useJUnitPlatform()
2727
}
2828

29+
java {
30+
toolchain {
31+
languageVersion = JavaLanguageVersion.of(8)
32+
vendor = JvmVendorSpec.AMAZON
33+
}
34+
withJavadocJar()
35+
withSourcesJar()
36+
}
37+
2938
kotlin {
30-
jvmToolchain(17)
39+
jvmToolchain(8)
3140
}
3241

3342
tasks.withType<DokkaTask>().configureEach {
@@ -68,12 +77,6 @@ tasks.jar {
6877
dependsOn(tasks.named("dokkaJavadocJar"))
6978
}
7079

71-
java {
72-
sourceCompatibility = JavaVersion.VERSION_17
73-
withJavadocJar()
74-
withSourcesJar()
75-
}
76-
7780
publishing {
7881
publications {
7982
create<MavenPublication>("maven") {

settings.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1+
plugins {
2+
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
3+
}
14
rootProject.name = "java-time-extensions"

0 commit comments

Comments
 (0)