mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-22 07:00:43 +08:00
51 lines
1.1 KiB
Groovy
51 lines
1.1 KiB
Groovy
buildscript {
|
|
repositories {
|
|
maven {
|
|
url "https://plugins.gradle.org/m2/"
|
|
}
|
|
}
|
|
dependencies {
|
|
classpath "io.freefair.gradle:lombok-plugin:8.11"
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
apply(plugin: 'java')
|
|
apply(plugin: 'jacoco')
|
|
apply(plugin: "io.freefair.lombok")
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(8)
|
|
}
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
finalizedBy jacocoTestReport
|
|
}
|
|
|
|
jacocoTestReport {
|
|
dependsOn test
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation 'org.slf4j:slf4j-simple:2.0.16'
|
|
testImplementation 'org.testcontainers:testcontainers:1.20.4'
|
|
testImplementation 'org.testcontainers:junit-jupiter:1.20.4'
|
|
testImplementation platform('org.junit:junit-bom:5.11.3')
|
|
testImplementation 'org.junit.jupiter:junit-jupiter'
|
|
}
|
|
|
|
tasks.withType(Test).tap {
|
|
configureEach {
|
|
testLogging {
|
|
events "passed", "skipped", "failed"
|
|
}
|
|
}
|
|
}
|
|
} |