-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
60 lines (45 loc) · 1.63 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
plugins {
// https://plugins.gradle.org/plugin/com.tailrocks.java
id("com.tailrocks.java") version "0.5.1"
// https://plugins.gradle.org/plugin/com.tailrocks.spotless
id("com.tailrocks.spotless") version "0.5.2"
// https://plugins.gradle.org/plugin/com.tailrocks.idea
id("com.tailrocks.idea") version "0.5.1" apply false
// https://plugins.gradle.org/plugin/com.tailrocks.junit
id("com.tailrocks.junit") version "0.5.1" apply false
// https://plugins.gradle.org/plugin/com.tailrocks.versions
id("com.tailrocks.versions") version "0.5.2" apply false
// https://plugins.gradle.org/plugin/com.tailrocks.kotlin
id("com.tailrocks.kotlin") version "0.6.2" apply false
// https://plugins.gradle.org/plugin/com.adarshr.test-logger
id("com.adarshr.test-logger") version "4.0.0" apply false
// https://plugins.gradle.org/plugin/com.google.protobuf
id("com.google.protobuf") version "0.9.4" apply false
}
val javaVersion = 17
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(javaVersion))
}
}
allprojects {
apply(plugin = "com.tailrocks.idea")
apply(plugin = "com.tailrocks.spotless")
apply(plugin = "com.tailrocks.versions")
group = "com.tailrocks.jambalaya"
spotless {
java {
licenseHeaderFile("$rootDir/gradle/licenseHeader.txt")
}
kotlin {
licenseHeaderFile("$rootDir/gradle/licenseHeader.txt")
}
}
}
subprojects {
// TODO restore me later
//apply(plugin = "com.tailrocks.java")
// TODO remove me later
apply(plugin = "java")
apply(plugin = "com.adarshr.test-logger")
}