-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
56 lines (48 loc) · 1.32 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
plugins {
id 'java-library'
id 'java'
id 'io.github.goooler.shadow' version '8.1.7'
}
group 'net.onebeastchris.geyser.extension'
version '1.2.3'
repositories {
mavenCentral()
maven {
url 'https://repo.opencollab.dev/main'
}
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots'
mavenContent {
snapshotsOnly()
}
}
maven {
url 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
}
maven {
url 'https://jitpack.io'
}
}
java {
sourceCompatibility(JavaVersion.VERSION_17)
targetCompatibility(JavaVersion.VERSION_17)
}
dependencies {
compileOnly('org.geysermc.geyser:core:2.4.1-SNAPSHOT') {
exclude group: 'io.netty'
}
compileOnly('org.geysermc.geyser:api:2.4.1-SNAPSHOT')
api('com.fasterxml.jackson.core:jackson-annotations:2.17.0')
api('com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.17.0')
api('com.fasterxml.jackson.core:jackson-core:2.17.0')
}
jar {
archiveClassifier.set("unshaded")
}
// Output to build/libs/shadow.jar
shadowJar {
archiveBaseName.set('pickpack')
archiveClassifier.set('')
relocate('com.fasterxml.jackson', 'net.onebeastchris.extension.pickpack.jackson')
relocate('org.yaml', 'net.onebeastchris.extension.pickpack.yaml')
}