Skip to content

Commit

Permalink
update gradle.kts
Browse files Browse the repository at this point in the history
  • Loading branch information
unldenis committed Feb 3, 2024
1 parent bda41c2 commit 641fb8d
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 0 deletions.
Binary file modified .gradle/8.4/checksums/checksums.lock
Binary file not shown.
Binary file modified .gradle/8.4/checksums/md5-checksums.bin
Binary file not shown.
Binary file modified .gradle/8.4/checksums/sha1-checksums.bin
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/outputFiles.bin
Binary file not shown.
24 changes: 24 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
plugins {
java
kotlin("jvm") version "1.9.21"
`maven-publish`
}

group = "org.holoeasy"
Expand All @@ -15,6 +17,28 @@ dependencies {
tasks.test {
useJUnitPlatform()
}

tasks {
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
}

publishing {
publications {
create<MavenPublication>("maven") {
groupId = "org.holoeasy"
artifactId = "holoeasy"
version = "3.1.1"

from(components["java"])
}
}
}

kotlin {
jvmToolchain(8)
}

0 comments on commit 641fb8d

Please sign in to comment.