forked from op65n/Tags
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
44 lines (34 loc) · 1.21 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
import org.apache.tools.ant.filters.ReplaceTokens
plugins {
id "com.github.johnrengelman.shadow" version "6.1.0"
id "java"
}
group = "frosty.op65n.tech.tagsspigot"
version = "0.0.8-PreRelease"
repositories {
mavenCentral()
maven { url "http://repo.extendedclip.com/content/repositories/placeholderapi/" }
maven { url "https://papermc.io/repo/repository/maven-public/" }
maven { url "https://oss.sonatype.org/content/groups/public/" }
maven { url "https://repo.mattstudios.me/artifactory/public" }
maven { url "https://maven.op65n.org" }
}
dependencies {
implementation "org.op65n:Gazelle:1.0"
implementation "org.mariadb.jdbc:mariadb-java-client:2.7.2"
implementation "me.mattstudios.utils:matt-framework-gui:2.0.2"
implementation "me.mattstudios.utils:matt-framework:1.4"
compileOnly "me.clip:placeholderapi:2.10.9"
compileOnly "com.destroystokyo.paper:paper-api:1.16.5-R0.1-SNAPSHOT"
}
shadowJar {
relocate "me.mattstudios.mf", "${project.group}.library.mf"
relocate "org.op65n.gazelle", "${project.group}.library.gazelle"
archiveFileName.set("TagsSpigot.jar")
}
processResources {
from(sourceSets.main.resources.srcDirs) {
filter ReplaceTokens, tokens: [version: version]
}
}
jar.finalizedBy(shadowJar)