Skip to content

Commit

Permalink
chore: 불필요한 버전 지정 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
HarryJhin committed Sep 5, 2024
1 parent 91246b4 commit b5833d7
Showing 1 changed file with 10 additions and 20 deletions.
30 changes: 10 additions & 20 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import org.jetbrains.dokka.DokkaConfiguration
import org.jetbrains.dokka.gradle.DokkaTask
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import java.net.URL

plugins {
Expand All @@ -12,7 +11,16 @@ plugins {

project.description = "Kotlin을 위한 java.time.* 확장 함수 라이브러리"
project.group = "io.github.harryjhin"
project.version = "1.0.2"
project.version = "1.0.3"

java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
vendor = JvmVendorSpec.ADOPTIUM
}
withJavadocJar()
withSourcesJar()
}

repositories {
mavenCentral()
Expand All @@ -26,24 +34,6 @@ tasks.test {
useJUnitPlatform()
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
vendor = JvmVendorSpec.ADOPTIUM
}
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
withJavadocJar()
withSourcesJar()
}

kotlin {
jvmToolchain(8)
compilerOptions {
jvmTarget.set(JvmTarget.JVM_1_8)
}
}

tasks.withType<DokkaTask>().configureEach {
outputDirectory.set(file("docs"))

Expand Down

0 comments on commit b5833d7

Please sign in to comment.