File tree Expand file tree Collapse file tree 4 files changed +14
-25
lines changed Expand file tree Collapse file tree 4 files changed +14
-25
lines changed Original file line number Diff line number Diff line change 7
7
jobs :
8
8
build :
9
9
runs-on : ubuntu-latest
10
-
11
10
steps :
12
11
- name : Checkout
13
12
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
21
13
- name : Run tests
22
14
run : ./gradlew test
Original file line number Diff line number Diff line change 16
16
17
17
steps :
18
18
- 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
-
27
19
- name : Setup Gradle
28
20
uses : gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
29
-
30
21
- name : Verify release & deploy configuration
31
22
run : ./gradlew jreleaserConfig
32
23
env :
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ plugins {
12
12
13
13
project.description = " Kotlin을 위한 java.time.* 확장 함수 라이브러리"
14
14
project.group = " io.github.harryjhin"
15
- project.version = " 1.0.0 "
15
+ project.version = " 1.0.1 "
16
16
17
17
repositories {
18
18
mavenCentral()
@@ -26,8 +26,17 @@ tasks.test {
26
26
useJUnitPlatform()
27
27
}
28
28
29
+ java {
30
+ toolchain {
31
+ languageVersion = JavaLanguageVersion .of(8 )
32
+ vendor = JvmVendorSpec .AMAZON
33
+ }
34
+ withJavadocJar()
35
+ withSourcesJar()
36
+ }
37
+
29
38
kotlin {
30
- jvmToolchain(17 )
39
+ jvmToolchain(8 )
31
40
}
32
41
33
42
tasks.withType<DokkaTask >().configureEach {
@@ -68,12 +77,6 @@ tasks.jar {
68
77
dependsOn(tasks.named(" dokkaJavadocJar" ))
69
78
}
70
79
71
- java {
72
- sourceCompatibility = JavaVersion .VERSION_17
73
- withJavadocJar()
74
- withSourcesJar()
75
- }
76
-
77
80
publishing {
78
81
publications {
79
82
create<MavenPublication >(" maven" ) {
Original file line number Diff line number Diff line change
1
+ plugins {
2
+ id(" org.gradle.toolchains.foojay-resolver-convention" ) version " 0.8.0"
3
+ }
1
4
rootProject.name = " java-time-extensions"
You can’t perform that action at this time.
0 commit comments