-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
92 lines (83 loc) · 2.7 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '7.1.2'
id("net.kyori.blossom") version "1.3.1"
}
group = 'io.github.tanguygab'
version = '2.1.1'
compileJava.options.encoding = 'UTF-8'
repositories {
mavenCentral()
maven {
name = 'Sonatype-repo'
url = 'https://oss.sonatype.org/content/groups/public/'
}
maven {
name = 'SpigotMC-repo'
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
}
maven {
name = 'DiscordSRV-repo'
url = 'https://nexus.scarsz.me/content/groups/public/'
}
maven {
name = 'JDA-repo'
url = 'https://m2.dv8tion.net/releases'
}
maven {
name = 'EssentialsX-repo'
url = 'https://repo.essentialsx.net/releases/'
}
maven {
name = 'InteractiveChat-repo'
url = 'https://repo.loohpjames.com/repository'
}
maven {
name = 'jitpack.io'
url = 'https://jitpack.io'
}
maven {
name = 'Protocolize-repo'
url = 'https://mvn.exceptionflug.de/repository/exceptionflug-public/'
}
maven {
name = "sonatype-oss-snapshots1"
url = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
}
maven {
name = "papermc"
url = "https://repo.papermc.io/repository/maven-public/"
}
}
dependencies {
compileOnly 'net.md-5:bungeecord-api:1.20-R0.2'
compileOnly 'org.spigotmc:spigot-api:1.21.3-R0.1-SNAPSHOT'
compileOnly("com.velocitypowered:velocity-api:3.4.0-SNAPSHOT")
annotationProcessor("com.velocitypowered:velocity-api:3.3.0-SNAPSHOT")
compileOnly files('../../dependencies/TAB-5.0.2-SNAPSHOT.jar')
compileOnly 'org.projectlombok:lombok:1.18.34'
annotationProcessor 'org.projectlombok:lombok:1.18.34'
compileOnly 'com.discordsrv:discordsrv:1.28.0'
compileOnly 'net.essentialsx:EssentialsXDiscord:2.20.1'
compileOnly 'com.loohp:InteractiveChat:4.2.12.0'
compileOnly 'com.github.DevLeoko:AdvancedBan:2.3.0'
compileOnly 'dev.simplix:protocolize-api:2.3.1'
implementation "net.kyori:adventure-platform-bukkit:4.3.4"
implementation 'net.kyori:adventure-platform-bungeecord:4.3.4'
implementation 'net.kyori:adventure-text-minimessage:4.17.0'
implementation 'net.kyori:adventure-text-serializer-plain:4.17.0'
}
shadowJar {
setArchiveClassifier("")
}
processResources {
def props = [version: version]
inputs.properties props
filteringCharset 'UTF-8'
filesMatching(['plugin.yml','bungee.yml', 'velocity-plugin.json']) {
expand props
}
}
blossom {
replaceToken("@version@", version)
}