37 lines
709 B
Groovy
37 lines
709 B
Groovy
plugins {
|
|
id "application"
|
|
id "java-test-fixtures"
|
|
id "me.champeau.jmh" version "0.6.8"
|
|
id "com.diffplug.spotless" version "6.15.0"
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
java {
|
|
sourceCompatibility = 11
|
|
targetCompatibility = 11
|
|
}
|
|
|
|
dependencies {
|
|
|
|
def junitVersion = "5.9.2"
|
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter:${junitVersion}")
|
|
testImplementation("org.junit.jupiter:junit-jupiter-params:${junitVersion}")
|
|
|
|
testFixturesImplementation("org.apache.tuweni:tuweni-units:2.3.1")
|
|
testFixturesImplementation("com.fasterxml.jackson.core:jackson-databind:2.14.2")
|
|
|
|
}
|
|
|
|
spotless {
|
|
java {
|
|
googleJavaFormat()
|
|
}
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
} |