-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
51 lines (43 loc) · 1.15 KB
/
build.gradle
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
plugins {
id "java"
id "maven-publish"
id "com.github.johnrengelman.shadow" version "8.1.1"
}
group = "com.github.kaspiandev.minedownpapi"
version = "1.1"
repositories {
mavenCentral()
maven {
name = "spigotmc-repo"
url = "https://hub.spigotmc.org/nexus/content/repositories/snapshots/"
}
maven {
name = "sonatype"
url = "https://oss.sonatype.org/content/groups/public/"
}
maven {
name = "placeholderapi"
url = "https://repo.extendedclip.com/content/repositories/placeholderapi"
}
maven {
name = "minedown"
url = "https://repo.minebench.de/"
}
}
dependencies {
compileOnly "org.spigotmc:spigot-api:1.19.4-R0.1-SNAPSHOT"
compileOnly "me.clip:placeholderapi:2.11.3"
implementation "de.themoep:minedown:1.7.1-SNAPSHOT"
}
shadowJar {
archiveClassifier = null
relocate("de.themoep.minedown", "com.github.kaspiandev.minedownpapi.lib.minedown")
}
publishing {
publications {
placeholderapi(MavenPublication) { publication ->
project.shadow.component(publication)
}
}
}
tasks.build.dependsOn("shadowJar")