3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-16 21:10:30 +01:00
Velocity/build.gradle.kts

46 Zeilen
1021 B
Plaintext

import com.velocitypowered.script.VelocityCheckstylePlugin
import com.velocitypowered.script.VelocityPublishPlugin
2023-01-02 00:46:33 +01:00
import com.velocitypowered.script.VelocitySpotlessPlugin
plugins {
`java-library`
}
2023-01-02 03:51:33 +01:00
allprojects {
group = "com.velocitypowered"
version = rootProject.file("version").readLines().first()
2023-01-02 03:51:33 +01:00
}
2023-01-02 03:51:33 +01:00
subprojects {
apply<JavaLibraryPlugin>()
apply<VelocityCheckstylePlugin>()
apply<VelocityPublishPlugin>()
2023-01-02 00:46:33 +01:00
apply<VelocitySpotlessPlugin>()
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
}
repositories {
mavenCentral()
2023-03-02 06:11:59 +01:00
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") // adventure
maven("https://repo.papermc.io/repository/maven-public/")
}
dependencies {
testImplementation(rootProject.libs.junit)
}
tasks {
test {
useJUnitPlatform()
reports {
junitXml.required.set(true)
}
}
}
}