3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-06 08:10:12 +01:00
Velocity/buildSrc/build.gradle.kts

37 Zeilen
1.1 KiB
Plaintext

plugins {
`kotlin-dsl`
checkstyle
alias(libs.plugins.indra.publishing)
alias(libs.plugins.spotless)
}
2023-01-02 00:46:33 +01:00
dependencies {
implementation("com.diffplug.spotless:spotless-plugin-gradle:${libs.plugins.spotless.get().version}")
2023-01-02 00:46:33 +01:00
}
gradlePlugin {
plugins {
register("set-manifest-impl-version") {
id = "set-manifest-impl-version"
implementationClass = "com.velocitypowered.script.SetManifestImplVersionPlugin"
}
register("velocity-checkstyle") {
id = "velocity-checkstyle"
implementationClass = "com.velocitypowered.script.VelocityCheckstylePlugin"
}
2023-01-02 00:46:33 +01:00
register("velocity-spotless") {
id = "velocity-spotless"
implementationClass = "com.velocitypowered.script.VelocitySpotlessPlugin"
}
register("velocity-publish") {
id = "velocity-publish"
implementationClass = "com.velocitypowered.script.VelocityPublishPlugin"
}
}
}
2023-01-02 00:46:33 +01:00
spotless {
kotlin {
licenseHeaderFile(project.rootProject.file("../HEADER.txt"))
}
}