-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
52 lines (44 loc) · 1.2 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
plugins {
id "java"
id "net.kyori.blossom" version "1.2.0"
}
archivesBaseName = "ViaLoadingBase"
version = "4.7.0"
group = "de.florianmichael"
repositories {
maven {
url = "https://oss.sonatype.org/content/repositories/snapshots"
}
maven {
url = "https://repo.viaversion.com"
}
maven {
url = "https://jitpack.io"
}
mavenCentral()
}
blossom {
replaceToken("\${vialoadingbase_version}", project.version, "src/main/java/de/florianmichael/vialoadingbase/ViaLoadingBase.java")
}
java {
withSourcesJar()
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
dependencies {
// Via Version
compileOnly("com.viaversion:viaversion-common:5.0.2-SNAPSHOT")
compileOnly("com.viaversion:viabackwards-common:5.0.2-SNAPSHOT")
compileOnly("com.viaversion:viarewind-common:4.0.1-SNAPSHOT")
compileOnly("org.yaml:snakeyaml:2.2")
compileOnly("com.google.guava:guava:31.1-jre")
compileOnly("io.netty:netty-all:5.0.0.Alpha2")
compileOnly("org.apache.logging.log4j:log4j-core:2.19.0")
}
jar {
from("LICENSE") {
rename {
"${it}_${project.archivesBaseName}"
}
}
}