forked from donvi-bz/JakesRTP
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
65 lines (59 loc) · 1.84 KB
/
build.gradle.kts
File metadata and controls
65 lines (59 loc) · 1.84 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
56
57
58
59
60
61
62
63
64
65
plugins {
java
`maven-publish`
}
group = "net.gahvila"
version = "0.17.1-SNAPSHOT"
java.sourceCompatibility = JavaVersion.VERSION_21
repositories {
mavenLocal()
mavenCentral()
maven("https://repo.gahvila.net/snapshots/")
maven("https://repo.papermc.io/repository/maven-public/")
maven("https://repo.codemc.io/repository/maven-public/")
maven("https://jitpack.io")
maven("https://maven.enginehub.org/repo/")
maven("https://repo.aikar.co/content/groups/aikar/")
}
dependencies {
compileOnly("io.papermc.paper:paper-api:1.21.4-R0.1-SNAPSHOT")
compileOnly("org.popcraft:chunky-common:1.4.28")
compileOnly("org.popcraft:chunkyborder-common:1.2.23")
compileOnly("org.popcraft:chunkyborder-bukkit:1.2.23")
compileOnly("com.github.MilkBowl:VaultAPI:1.7") {
exclude(group = "org.bukkit", module = "bukkit")
}
//claim plugins
compileOnly("net.crashcraft:crashclaim:1.0.42")
compileOnly("com.github.TechFortress:GriefPrevention:16.18.4")
compileOnly("com.sk89q.worldguard:worldguard-bukkit:7.0.13-SNAPSHOT")
}
publishing {
repositories {
maven {
name = "gahvila"
url = if (version.toString().contains("SNAPSHOT", ignoreCase = true)) {
uri("https://repo.gahvila.net/snapshots/")
} else {
uri("https://repo.gahvila.net/releases/")
}
credentials(PasswordCredentials::class)
authentication {
create<BasicAuthentication>("basic")
}
}
}
publications {
create<MavenPublication>("maven") {
groupId = "net.gahvila"
artifactId = "rtp"
version = findProperty("version").toString()
from(components["java"])
}
}
}
tasks {
processResources {
expand(project.properties)
}
}