This commit is contained in:
21
build.gradle
21
build.gradle
@@ -1,21 +1,19 @@
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'application'
|
||||
id 'checkstyle'
|
||||
id 'jacoco'
|
||||
}
|
||||
|
||||
group = 'com.example'
|
||||
version = '1.0-SNAPSHOT'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.0'
|
||||
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass = 'com.example.App'
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.0'
|
||||
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.0'
|
||||
}
|
||||
|
||||
test {
|
||||
@@ -32,12 +30,7 @@ jacocoTestReport {
|
||||
}
|
||||
|
||||
checkstyle {
|
||||
toolVersion = '10.12.0'
|
||||
toolVersion = '10.12.4'
|
||||
configFile = file('config/checkstyle/checkstyle.xml')
|
||||
}
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion = JavaLanguageVersion.of(17)
|
||||
}
|
||||
ignoreFailures = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user