2022-11-24 17:16:15 +00:00
|
|
|
plugins {
|
|
|
|
id "application"
|
2022-12-06 12:58:56 +00:00
|
|
|
id "java-test-fixtures"
|
|
|
|
id "me.champeau.jmh" version "0.6.8"
|
2023-02-16 11:26:26 +00:00
|
|
|
id "com.diffplug.spotless" version "6.15.0"
|
2022-11-24 17:16:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
2022-12-10 19:06:11 +00:00
|
|
|
java {
|
|
|
|
sourceCompatibility = 11
|
|
|
|
targetCompatibility = 11
|
|
|
|
}
|
|
|
|
|
2022-11-24 17:16:15 +00:00
|
|
|
dependencies {
|
2022-11-25 14:51:12 +00:00
|
|
|
|
2023-02-16 11:26:26 +00:00
|
|
|
def junitVersion = "5.9.2"
|
2023-03-10 17:32:13 +00:00
|
|
|
def jacksonVersion = "2.14.2"
|
2022-11-25 14:51:12 +00:00
|
|
|
|
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter:${junitVersion}")
|
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter-params:${junitVersion}")
|
|
|
|
|
2022-12-06 12:58:56 +00:00
|
|
|
testFixturesImplementation("org.apache.tuweni:tuweni-units:2.3.1")
|
2023-03-10 17:32:13 +00:00
|
|
|
testFixturesImplementation("com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}")
|
|
|
|
testFixturesImplementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${jacksonVersion}")
|
2022-11-24 17:16:15 +00:00
|
|
|
}
|
|
|
|
|
2023-02-16 11:26:26 +00:00
|
|
|
spotless {
|
|
|
|
java {
|
|
|
|
googleJavaFormat()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-11-24 17:16:15 +00:00
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|