-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle.kts
51 lines (41 loc) · 1.38 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
plugins {
java
id("com.github.johnrengelman.shadow") version "8.1.1"
}
group="net.onebeastchris.extension.magicmenu"
version="1.0.3"
repositories {
mavenCentral()
maven("https://repo.opencollab.dev/main")
//maven("https://jitpack.io")
maven("https://oss.sonatype.org/content/repositories/snapshots/")
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
//mavenLocal()
}
dependencies {
// Geyser API - needed for all extensions
compileOnly("org.geysermc.geyser:api:2.4.2-SNAPSHOT")
// Include other dependencies here - e.g. for configuration.
compileOnly("org.geysermc.geyser:core:2.4.2-SNAPSHOT") {
isTransitive = false
}
implementation("com.fasterxml.jackson.core:jackson-annotations:2.15.2")
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.15.2")
implementation("com.fasterxml.jackson.core:jackson-core:2.15.2")
}
tasks {
jar {
dependsOn(shadowJar)
archiveClassifier.set("unshaded")
}
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_17
targetCompatibility = JavaVersion.VERSION_17
}