idk some "cool" stuff
This commit is contained in:
13
build.gradle
13
build.gradle
@@ -18,12 +18,14 @@ repositories {
|
||||
name = "sonatype"
|
||||
url = "https://oss.sonatype.org/content/groups/public/"
|
||||
}
|
||||
maven { url 'https://libraries.minecraft.net/' }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly("io.papermc.paper:paper-api:1.20.4-R0.1-SNAPSHOT")
|
||||
implementation("com.github.lewysDavies:Java-Probability-Collection:v0.8")
|
||||
implementation group: 'me.libraryaddict.disguises', name: 'libsdisguises', version: '11.0.6'
|
||||
//TODO implementation 'me.lucko:commodore:2.2'
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -55,10 +57,13 @@ processResources {
|
||||
}
|
||||
|
||||
jar {
|
||||
|
||||
destinationDirectory.set(file("/home/hadvart/Documents/Minecraft/Pufferfish 1.20.4/plugins"))
|
||||
//destinationDirectory.set(file("/home/hadvart/Documents/Minecraft/Pufferfish 1.20.4/plugins"))
|
||||
from sourceSets.main.output
|
||||
from { configurations.runtimeClasspath.findAll { it.name.startsWith('Java-Probability-Collection') }.collect { zipTree(it) } }
|
||||
from {
|
||||
configurations.runtimeClasspath.findAll {
|
||||
it.name.startsWith('Java-Probability-Collection') || it.name.startsWith('commodore') || it.name.startsWith('brigadier')
|
||||
}.collect { zipTree(it) }
|
||||
}
|
||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user