mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2026-04-08 16:10:26 +00:00
checkstyle
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user