-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
44 lines (36 loc) · 899 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
plugins {
`java-library`
`maven-publish`
alias(libs.plugins.paper.paperweight)
alias(libs.plugins.paper.resource)
}
group = "dev.lu15"
version = "0.1.1"
java.toolchain.languageVersion = JavaLanguageVersion.of(21)
repositories {
}
dependencies {
paperweight.paperDevBundle("${libs.versions.minecraft.get()}-R0.1-SNAPSHOT")
}
publishing {
publications {
create<MavenPublication>("mavenJava") {
artifactId = project.name
from(components["java"])
}
}
repositories {
mavenLocal()
maven {
name = "hypera"
url = uri("https://repo.hypera.dev/releases/")
credentials(PasswordCredentials::class)
}
}
}
paperPluginYaml {
main = "dev.lu15.papercodec.PaperCodecPlugin"
author = "LooFifteen"
apiVersion = "1.21"
version = rootProject.version as String
}