2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2026-04-08 16:10:26 +00:00

checkstyle

This commit is contained in:
2024-04-12 22:01:53 +04:00
parent da255860bd
commit fa7ca2dacb
5 changed files with 402 additions and 3 deletions

View File

@@ -4,10 +4,12 @@ import java.io.ByteArrayOutputStream
plugins {
`java-library`
`maven-publish`
checkstyle
id("net.kyori.blossom") version "1.2.0"
}
repositories {
mavenCentral()
}
@@ -40,7 +42,7 @@ description = "RedisBungee interfaces"
blossom {
replaceToken("@version@", "$version")
// GIT
var commit: String = ""
val commit: String;
val commitStdout = ByteArrayOutputStream()
rootProject.exec {
standardOutput = commitStdout
@@ -52,6 +54,11 @@ blossom {
replaceToken("@build_date@", "${Instant.now().epochSecond}")
}
checkstyle {
toolVersion = "10.12.3"
}
java {
withJavadocJar()
withSourcesJar()