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

48 lines
987 B
Groovy
Raw Normal View History

2022-11-24 17:16:15 +00:00
plugins {
id "application"
id "java-test-fixtures"
id "me.champeau.jmh" version "0.7.0"
id "com.diffplug.spotless" version "6.17.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
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}")
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
}
javadoc {
options.addStringOption("Xdoclint:all,-missing", "-quiet")
}
check {
dependsOn {
javadoc
}
}
spotless {
java {
googleJavaFormat()
}
}
2022-11-24 17:16:15 +00:00
test {
useJUnitPlatform()
}