From c59e5e13f00cef1d5e027f012085e6567812685c Mon Sep 17 00:00:00 2001 From: deotime <89555032+DeoTimeTheGithubUser@users.noreply.github.com> Date: Mon, 19 Dec 2022 17:50:13 -0600 Subject: [PATCH] Update --- build.gradle.kts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index bbaf5ae..03cb9c3 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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() @@ -17,10 +18,19 @@ dependencies { implementation("org.jetbrains.kotlin:kotlin-reflect:1.7.22") implementation("com.squareup:kotlinpoet:1.12.0") } + tasks.withType { kotlinOptions.jvmTarget = "1.8" } +publishing { + publications { + create("maven") { + from(components["java"]) + } + } +} + application { mainClass.set("MainKt") } \ No newline at end of file