forked from tailrocks/graphql-java-datetime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
38 lines (32 loc) · 1.05 KB
/
build.gradle.kts
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
plugins {
alias(libs.plugins.tailrocks.java)
alias(libs.plugins.tailrocks.spotless)
alias(libs.plugins.tailrocks.idea) apply false
alias(libs.plugins.tailrocks.versions) apply false
alias(libs.plugins.test.logger) apply false
alias(libs.plugins.spring.dependency.management) apply false
alias(libs.plugins.spring.boot) apply false
}
val projectVersion: String by project
allprojects {
apply(plugin = "com.tailrocks.idea")
apply(plugin = "com.tailrocks.spotless")
apply(plugin = "com.tailrocks.versions")
version = projectVersion
group = "com.tailrocks.graphql"
spotless {
java {
licenseHeaderFile("$rootDir/gradle/licenseHeader.txt")
}
kotlin {
licenseHeaderFile("$rootDir/gradle/licenseHeader.txt")
}
}
// TODO remove me later, this is temp hack to remove deprecated dependencies from classpath
configurations.all {
exclude(group = "javax.validation", module = "validation-api")
}
}
subprojects {
apply(plugin = "com.tailrocks.java")
}