plugins { id 'java' id 'com.gradleup.shadow' version '9.0.0-rc1' } group = 'de.thehomecraft' version = '1.0-SNAPSHOT' repositories { mavenCentral() } jar { manifest { attributes 'Main-Class': 'de.thehomecraft.Main' } } dependencies { testImplementation platform('org.junit:junit-bom:5.10.0') testImplementation 'org.junit.jupiter:junit-jupiter' implementation 'io.minio:minio:8.5.9' implementation 'org.java-websocket:Java-WebSocket:1.5.3' implementation 'org.slf4j:slf4j-simple:2.0.9' } test { useJUnitPlatform() } shadowJar { archiveClassifier.set('') //relocate 'net.bytebuddy', 'com.befatorinc.befatorReplay.shadow.bytebuddy' relocate 'com.fasterxml', 'de.thehomecraft.shadow.fasterxml' relocate 'org.slf4j', 'de.thehomecraft.shadow.slf4j' minimize() } tasks.build { dependsOn tasks.shadowJar }