elastic-client/build.gradle.kts (26 lines of code) (raw):

plugins { id("java-library") alias(libs.plugins.spotless) } spotless { java { target("src/*/java/**/*.java") licenseHeaderFile(rootProject.file("license_header.txt")) } } afterEvaluate { tasks.named("classes").configure { dependsOn("spotlessApply") } } dependencies { api(project(":client")) implementation(libs.protobuf) implementation(libs.dslJson) testImplementation(libs.jupiter) testImplementation(libs.bundles.mockito) testImplementation(libs.assertj) } tasks.test { useJUnitPlatform() }