-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
60 lines (51 loc) · 1.49 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
plugins {
id 'java-library'
id 'java'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
group 'net.onebeastchris.extension.magicmenu'
version '1.0.3'
repositories {
mavenCentral()
maven {
url 'https://repo.opencollab.dev/maven-snapshots'
}
maven {
url 'https://repo.opencollab.dev/maven-releases'
}
maven {
url 'https://jitpack.io'
}
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
maven {
url 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
}
mavenLocal()
}
dependencies {
// Geyser API - needed for all extensions
compileOnly('org.geysermc.geyser:api:2.1.2-SNAPSHOT')
// Include other dependencies here - e.g. for configuration.
compileOnly('org.geysermc.geyser:core:2.1.1-SNAPSHOT') {
exclude group: 'io.netty'
}
api('com.fasterxml.jackson.core:jackson-annotations:2.15.2')
api('com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.15.2')
api('com.fasterxml.jackson.core:jackson-core:2.15.2')
}
jar {
archiveClassifier.set("unshaded")
}
// Output to build/libs/shadow.jar
shadowJar {
archiveBaseName.set('MagicMenu')
archiveClassifier.set('')
relocate('com.fasterxml.jackson', 'net.onebeastchris.extension.magicmenu.jackson')
relocate('org.yaml', 'net.onebeastchris.extension.magicmenu.yaml')
}
java {
sourceCompatibility = JavaVersion.VERSION_16
targetCompatibility = JavaVersion.VERSION_16
}