Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
deotimedev committed Dec 19, 2022
1 parent 30a57e6 commit c59e5e1
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
kotlin("jvm") version "1.7.10"
`maven-publish`
application
}

group = "me.test"
version = "1.0-SNAPSHOT"
group = "me.deotime"
version = "1.0.0"

repositories {
mavenCentral()
Expand All @@ -17,10 +18,19 @@ dependencies {
implementation("org.jetbrains.kotlin:kotlin-reflect:1.7.22")
implementation("com.squareup:kotlinpoet:1.12.0")
}

tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}

publishing {
publications {
create<MavenPublication>("maven") {
from(components["java"])
}
}
}

application {
mainClass.set("MainKt")
}

0 comments on commit c59e5e1

Please sign in to comment.