idk some "cool" stuff

This commit is contained in:
hdvt
2025-06-26 01:18:01 +03:00
parent 15aca87742
commit 54eb07cc86
24 changed files with 1072 additions and 195 deletions

View File

@@ -1,7 +1,6 @@
plugins {
id 'java'
id("xyz.jpenilla.run-paper") version "2.3.1"
id 'com.rikonardo.papermake' version '1.0.6'
}
group = 'hdvtdev'
@@ -10,6 +9,7 @@ version = '0.0.1-a'
repositories {
mavenCentral()
maven { url 'https://repo.md-5.net/content/groups/public/' }
maven { url 'https://jitpack.io' }
maven {
name = "papermc-repo"
url = "https://repo.papermc.io/repository/maven-public/"
@@ -22,17 +22,10 @@ repositories {
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'
}
tasks {
runServer {
// Configure the Minecraft version for our task.
// This is the only required configuration besides applying the plugin.
// Your plugin's jar (or shadowJar if present) will be used automatically.
minecraftVersion("1.20")
}
}
def targetJavaVersion = 21
java {
@@ -62,6 +55,10 @@ processResources {
}
jar {
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) } }
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}