feat: random skin on join

This commit is contained in:
ineanto 2023-12-22 14:57:24 +01:00
parent 153d666b78
commit 30803363ba
3 changed files with 54 additions and 63 deletions

View file

@ -2,11 +2,10 @@ plugins {
id("java")
id("io.github.goooler.shadow") version "8.1.2"
id("xyz.jpenilla.run-paper") version "2.2.2"
id("jvm-test-suite")
}
group = "xyz.ineanto"
version = "1.1.0-RC1"
version = "1.1.1-RC1"
val shadowImplementation: Configuration by configurations.creating
configurations["implementation"].extendsFrom(shadowImplementation)
@ -55,7 +54,7 @@ dependencies {
shadowImplementation("com.github.jsixface:yamlconfig:1.2")
shadowImplementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.15.2")
shadowImplementation("com.fasterxml.jackson.core:jackson-core:2.15.2")
shadowImplementation("com.mysql:mysql-connector-j:8.1.0")
shadowImplementation("com.mysql:mysql-connector-j:8.2.0")
shadowImplementation("org.mariadb.jdbc:mariadb-java-client:3.3.1")
shadowImplementation("redis.clients:jedis:4.4.3")
shadowImplementation("com.google.code.gson:gson:2.10.1")
@ -80,7 +79,6 @@ tasks {
}
shadowJar {
mustRunAfter(test)
configurations = listOf(shadowImplementation)
// NAMING
@ -127,42 +125,20 @@ tasks {
}
}
jar {
enabled = false
}
test {
useJUnitPlatform()
}
runServer {
downloadPlugins {
url("https://download.luckperms.net/1526/bukkit/loader/LuckPerms-Bukkit-5.4.113.jar")
url("https://ci.dmulloy2.net/job/ProtocolLib/lastSuccessfulBuild/artifact/build/libs/ProtocolLib.jar")
}
// 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.2")
}
}
tasks.named("jar").configure {
enabled = false
}
tasks.test {
useJUnitPlatform()
}
// For when Gradle 9.0 releases.
/**
testing {
suites {
val test by getting(JvmTestSuite::class) {
targets {
useJUnitJupiter()
}
dependencies {
implementation(project())
implementation("com.github.seeseemelk:MockBukkit-v1.20:3.58.0")
implementation("org.junit.jupiter:junit-jupiter-api:5.10.1")
implementation("org.junit.jupiter:junit-jupiter-engine:5.10.1")
implementation("org.junit.jupiter:junit-jupiter:5.10.1")
}
}
}
} */
}