Use gradle to build the plugin

This commit is contained in:
destro174 committed 2021-12-11 18:59:45 +01:00
1 parent a2246fea4a
commit b183c369d2
15 files changed
+406 -548

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
plugins {
`maven-publish`
}
dependencies {
compileOnly("com.alttd:Galaxy-API:1.18.1-R0.1-SNAPSHOT")
compileOnly("net.kyori:adventure-text-minimessage:4.1.0-SNAPSHOT") // Minimessage
compileOnly("org.spongepowered:configurate-yaml:4.1.2") // Configurate
compileOnly("net.luckperms:api:5.3") // Luckperms
}
publishing {
publications {
create<MavenPublication>("mavenJava") {
from(components["java"])
}
}
repositories{
maven {
name = "maven"
url = uri("https://repo.destro.xyz/snapshots")
credentials(PasswordCredentials::class)
}
}
}