-
Notifications
You must be signed in to change notification settings - Fork 18
/
build.gradle.kts
39 lines (35 loc) · 1016 Bytes
/
build.gradle.kts
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
plugins {
java
idea
id("com.github.johnrengelman.shadow") version "8.1.1"
}
group = "org.adde0109"
version = "1.5.3-beta"
repositories {
mavenCentral()
maven {
name = "papermc"
url = uri("https://repo.papermc.io/repository/maven-public/")
}
}
dependencies {
compileOnly("com.velocitypowered:velocity-api")
compileOnly("com.velocitypowered:velocity-proxy")
annotationProcessor("com.velocitypowered:velocity-api")
compileOnly("com.electronwill.night-config:toml:3.6.6")
implementation("org.bstats:bstats-velocity:3.0.1")
compileOnly("io.netty:netty-buffer:4.1.90.Final")
compileOnly("io.netty:netty-transport:4.1.90.Final")
compileOnly("io.netty:netty-codec:4.1.90.Final")
compileOnly("io.netty:netty-handler:4.1.90.Final")
}
tasks {
jar {
dependsOn(shadowJar);
enabled = false;
}
shadowJar {
relocate("org.bstats", "org.adde0109.ambassador")
archiveBaseName.set("Ambassador-Velocity")
}
}