Skip to content

Commit

Permalink
add jitpack
Browse files Browse the repository at this point in the history
  • Loading branch information
ltttttttttttt committed Oct 21, 2022
1 parent 2469c75 commit 1b58202
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions buff/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -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")
}

0 comments on commit 1b58202

Please sign in to comment.