-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
55 lines (49 loc) · 1.26 KB
/
build.gradle.kts
File metadata and controls
55 lines (49 loc) · 1.26 KB
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
54
55
plugins {
kotlin("jvm") version "2.2.10"
id("io.papermc.paperweight.userdev") version "1.7.7"
id("maven-publish")
}
group = "systems.rishon"
version = "1.0.2"
repositories {
gradlePluginPortal()
mavenCentral()
maven {
name = "CodeMC"
url = uri("https://repo.codemc.io/repository/maven-public/")
}
maven {
url = uri("https://repo.opencollab.dev/main/")
}
}
dependencies {
compileOnly("de.tr7zw:item-nbt-api-plugin:2.15.2")
compileOnly("org.geysermc.floodgate:api:2.2.4-SNAPSHOT")
paperweight.paperDevBundle("1.21.1-R0.1-SNAPSHOT")
}
kotlin {
jvmToolchain(21)
}
publishing {
repositories {
maven {
name = "seladevelopment"
url = uri("https://repo.rishon.systems/releases")
credentials {
username = System.getenv("MAVEN_NAME")
password = System.getenv("MAVEN_SECRET")
}
authentication {
create<BasicAuthentication>("basic")
}
}
}
publications {
create<MavenPublication>("maven") {
groupId = "systems.rishon"
artifactId = "utils-api"
version = "${project.version}"
from(components["java"])
}
}
}