Creating base multi-module project + logging
This commit is contained in:
@@ -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/")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user