From bdb3f3699ed7f3ec7f2c7b7d02406f0747d5d651 Mon Sep 17 00:00:00 2001 From: starry-shivam Date: Mon, 17 Jun 2024 15:31:26 +0530 Subject: [PATCH] Add jitpack configuration Signed-off-by: starry-shivam --- build.gradle.kts | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index c96e0ef..8abadd9 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,9 +1,10 @@ plugins { kotlin("jvm") version "2.0.0" + `maven-publish` } group = "dev.starry.ktscheduler" -version = "1.0-SNAPSHOT" +version = "1.0.0" repositories { mavenCentral() @@ -19,3 +20,17 @@ dependencies { testImplementation("org.mockito:mockito-inline:4.6.1") testImplementation("org.jetbrains.kotlin:kotlin-test-junit:2.0.0") } + + +publishing { + publications { + register("mavenJava", MavenPublication::class) { + groupId = "dev.starry.ktscheduler" + artifactId = "ktscheduler" + version = "1.0.0" + from(components["java"]) + } + } +} + +