81 lines
2.4 KiB
Groovy
81 lines
2.4 KiB
Groovy
|
|
//for jar packaging see https://github.com/Protonull/BasicMinestomServer/blob/master/build.gradle.kts
|
|
|
|
plugins {
|
|
id 'java'
|
|
id "com.github.johnrengelman.shadow" version "7.1.0"
|
|
}
|
|
|
|
group 'eu.mhsl.minenet'
|
|
version '1.0-SNAPSHOT'
|
|
|
|
repositories {
|
|
//maven 'https://repo.unnamed.team/repository/unnamed-public/'
|
|
|
|
mavenCentral()
|
|
google()
|
|
|
|
maven {
|
|
url 'https://jitpack.io'
|
|
}
|
|
|
|
maven {
|
|
url "https://repo.unnamed.team/repository/unnamed-public/"
|
|
}
|
|
|
|
maven {
|
|
url 'https://oss.sonatype.org/content/repositories/snapshots'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0'
|
|
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.0'
|
|
|
|
//https://jitpack.io/#Minestom/Minestom
|
|
//implementation 'com.github.Minestom:Minestom:aa621021e2'
|
|
//implementation 'com.github.Minestom.Minestom:Minestom:4f7ff5b474'
|
|
// implementation 'com.github.Minestom.Minestom:Minestom:2cdb3911b0'
|
|
// implementation 'com.github.Minestom:MinestomDataGenerator:ddde11056e'
|
|
implementation 'com.github.waxeria:Minestom:e0427a36f3'
|
|
|
|
|
|
//Tools
|
|
//implementation 'com.github.Articdive.JNoise:jnoise-core:4.0.0'
|
|
implementation 'de.articdive:jnoise:3.0.2'
|
|
// implementation 'com.fasterxml.jackson.core:jackson-databind:2.13.4.2'
|
|
// implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.13.4'
|
|
implementation 'org.yaml:snakeyaml:2.0'
|
|
implementation 'net.md-5:bungeecord-config:1.19-R0.1-SNAPSHOT'
|
|
implementation 'org.apache.commons:commons-text:1.10.0'
|
|
implementation 'org.spongepowered:configurate-yaml:4.1.2'
|
|
|
|
|
|
//PvP
|
|
implementation 'com.github.TogAr2:MinestomPvP:35e5661'
|
|
//implementation 'com.github.TogAr2:MinestomPvP:135ec9e2b7'
|
|
|
|
|
|
// Hephaestus engine
|
|
implementation("team.unnamed:hephaestus-api:0.2.1-SNAPSHOT")
|
|
implementation("team.unnamed:hephaestus-reader-blockbench:0.2.1-SNAPSHOT")
|
|
implementation("team.unnamed:hephaestus-runtime-minestom:0.2.1-SNAPSHOT")
|
|
}
|
|
|
|
tasks {
|
|
jar {
|
|
manifest {
|
|
attributes 'Main-Class': 'eu.mhsl.minenet.minigames.Main'
|
|
attributes 'Multi-Release': true
|
|
}
|
|
duplicatesStrategy = 'exclude'
|
|
from configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) }
|
|
}
|
|
build {
|
|
dependsOn(shadowJar)
|
|
}
|
|
shadowJar {
|
|
mergeServiceFiles()
|
|
archiveClassifier.set("")
|
|
}
|
|
} |