-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
53 lines (44 loc) · 1.39 KB
/
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
45
46
47
48
49
50
51
52
53
plugins {
kotlin("jvm") version "1.9.22"
alias(libs.plugins.sonatypeCentralPortalPublisher)
}
group = "world.avionik"
version = "1.0.2"
repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
}
dependencies {
compileOnly(kotlin("stdlib"))
compileOnly("io.papermc.paper:paper-api:1.20.4-R0.1-SNAPSHOT")
testCompileOnly("io.papermc.paper:paper-api:1.20.4-R0.1-SNAPSHOT")
}
signing {
useGpgCmd()
sign(configurations.archives.get())
}
centralPortal {
username = project.findProperty("sonatypeUsername") as String
password = project.findProperty("sonatypePassword") as String
pom {
name.set("Event Requirement Manager")
description.set("Register Bukkit listeners and add one or more requirements")
url.set("https://github.com/avionik-world/event-requirement-manager")
developers {
developer {
id.set("niklasnieberler")
email.set("[email protected]")
}
}
licenses {
license {
name.set("Apache-2.0")
url.set("https://www.apache.org/licenses/LICENSE-2.0.txt")
}
}
scm {
url.set("https://github.com/avionik-world/event-requirement-manager.git")
connection.set("git:[email protected]:avionik-world/event-requirement-manager.git")
}
}
}