Skip to content

Commit

Permalink
feat: Add maven
Browse files Browse the repository at this point in the history
  • Loading branch information
toohard2explain committed Jan 15, 2025
1 parent e7b87d0 commit 867cd5a
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id("java")
id("maven")
id ("com.github.johnrengelman.shadow") version "7.1.2"
id("maven-publish")
id("com.github.johnrengelman.shadow") version "7.1.2"
}

group = "org.velocy"
Expand All @@ -25,4 +25,15 @@ dependencies {

tasks.test {
useJUnitPlatform()
}

publishing {
publications {
create<MavenPublication>("maven") {
groupId = groupId
artifactId = project.name
version = version
from(components["java"])
}
}
}

0 comments on commit 867cd5a

Please sign in to comment.