diff --git a/buff/build.gradle.kts b/buff/build.gradle.kts index 550ffba..2aa454e 100644 --- a/buff/build.gradle.kts +++ b/buff/build.gradle.kts @@ -1,13 +1,30 @@ plugins { id("java-library") id("org.jetbrains.kotlin.jvm") + id("maven-publish") } +group = "com.github.ltttttttttttt" +version = "1.0.0" + java { + withSourcesJar() + withJavadocJar() sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } +publishing { + publications { + create("maven_public", MavenPublication::class) { + groupId = "com.github.ltttttttttttt" + artifactId = "library" + version = "1.0.0" + from(components.getByName("java")) + } + } +} + dependencies { implementation("com.google.devtools.ksp:symbol-processing-api:$kspVersion") } \ No newline at end of file