c-kzg-4844/bindings/java/build.gradle

48 lines
987 B
Groovy

plugins {
id "application"
id "java-test-fixtures"
id "me.champeau.jmh" version "0.7.0"
id "com.diffplug.spotless" version "6.17.0"
}
repositories {
mavenCentral()
}
java {
sourceCompatibility = 11
targetCompatibility = 11
}
dependencies {
def junitVersion = "5.9.2"
def jacksonVersion = "2.14.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:${jacksonVersion}")
testFixturesImplementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${jacksonVersion}")
}
javadoc {
options.addStringOption("Xdoclint:all,-missing", "-quiet")
}
check {
dependsOn {
javadoc
}
}
spotless {
java {
googleJavaFormat()
}
}
test {
useJUnitPlatform()
}