Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
Publish to maven
Browse files Browse the repository at this point in the history
  • Loading branch information
awumii committed Sep 5, 2021
1 parent e5e6f3f commit 1d6f56e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions core/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
plugins {
`maven-publish`
id("net.kyori.blossom") version "1.3.0"
}

Expand All @@ -20,4 +21,14 @@ dependencies {

blossom {
replaceToken("{version}", project.version, "src/main/java/me/xneox/epicguard/core/util/VersionUtils.java")
}

publishing {
publications {
create<MavenPublication>("maven") {
artifactId = "EpicGuard"

from(components["java"])
}
}
}

0 comments on commit 1d6f56e

Please sign in to comment.