plz
Some checks failed
CI / Gradle / build (push) Failing after 15m59s

This commit is contained in:
2026-05-29 09:58:51 +03:00
commit 8dc151af96
7 changed files with 103 additions and 0 deletions

43
build.gradle Normal file
View File

@@ -0,0 +1,43 @@
plugins {
id 'java'
id 'application'
id 'checkstyle'
id 'jacoco'
}
repositories {
mavenCentral()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.0'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
application {
mainClass = 'com.example.App'
}
test {
useJUnitPlatform()
finalizedBy jacocoTestReport
}
jacocoTestReport {
dependsOn test
reports {
xml.required = true
html.required = true
}
}
checkstyle {
toolVersion = '10.12.0'
configFile = file('config/checkstyle/checkstyle.xml')
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}