Creating base multi-module project + logging

This commit is contained in:
RedSavant
2026-03-23 19:16:10 +01:00
parent 7f94b99f1b
commit 88547c6d5e
11 changed files with 281 additions and 30 deletions

View File

@@ -1,20 +1,24 @@
plugins {
id("java")
java
id("com.gradleup.shadow") version "8.3.6" apply false
id("xyz.jpenilla.run-paper") version "2.3.1" apply false
}
group = "fr.redsavant"
version = "1.0-SNAPSHOT"
version = "1.0.0"
repositories {
mavenCentral()
}
subprojects {
apply(plugin = "java")
dependencies {
testImplementation(platform("org.junit:junit-bom:5.10.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
}
}
tasks.test {
useJUnitPlatform()
repositories {
mavenCentral()
maven("https://hub.spigotmc.org/nexus/content/groups/public/")
maven("https://repo.papermc.io/repository/maven-public/")
}
}