-
Notifications
You must be signed in to change notification settings - Fork 210
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
46 lines (37 loc) · 1.19 KB
/
build.gradle.kts
File metadata and controls
46 lines (37 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
plugins {
`java-gradle-plugin`
`kotlin-dsl`
// When updating, update below in dependencies too
id("com.diffplug.spotless") version "8.4.0"
}
spotless {
java {
googleJavaFormat()
licenseHeaderFile(
rootProject.file("../buildscripts/spotless.license.java"),
"(package|import|public)"
)
target("src/**/*.java")
}
}
repositories {
mavenCentral()
mavenLocal()
gradlePluginPortal()
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
dependencies {
implementation(gradleApi())
// When updating, update above in plugins too
implementation("com.diffplug.spotless:spotless-plugin-gradle:8.4.0")
implementation("com.github.spotbugs.snom:spotbugs-gradle-plugin:6.5.0")
implementation("com.gradleup.shadow:shadow-gradle-plugin:9.4.1")
implementation("org.owasp:dependency-check-gradle:12.2.0")
implementation("io.opentelemetry.instrumentation:gradle-plugins:2.26.1-alpha")
implementation("net.ltgt.gradle:gradle-errorprone-plugin:4.3.0")
implementation("net.ltgt.gradle:gradle-nullaway-plugin:3.0.0")
implementation("gradle.plugin.io.morethan.jmhreport:gradle-jmh-report:0.9.6")
implementation("me.champeau.jmh:jmh-gradle-plugin:0.7.3")
}