9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2025-12-19 14:59:32 +00:00

[release-skip] First publish API

This commit is contained in:
violetc
2023-07-22 01:46:58 +08:00
parent d856b9ff14
commit d324bcbd23
4 changed files with 40 additions and 8 deletions

View File

@@ -1,5 +1,6 @@
plugins {
java
`maven-publish`
id("com.github.johnrengelman.shadow") version "8.1.1" apply false
id("io.papermc.paperweight.patcher") version "1.5.5"
}
@@ -66,3 +67,16 @@ paperweight {
}
}
}
allprojects {
apply(plugin = "maven-publish")
publishing {
repositories {
maven("https://repo.leavesmc.top/snapshots") {
name = "leaves"
credentials(PasswordCredentials::class)
}
}
}
}