-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
44 lines (38 loc) · 1.1 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
import com.techshroom.inciseblue.InciseBlueExtension
import net.researchgate.release.ReleaseExtension
import org.gradle.plugins.ide.idea.model.IdeaModel
plugins {
id("net.researchgate.release") version "2.8.0"
id("com.techshroom.incise-blue") version "0.3.10"
idea
}
inciseBlue.ide()
val arb = tasks.named("afterReleaseBuild")
subprojects {
apply(plugin = "com.techshroom.incise-blue")
apply(plugin = "java")
configure<InciseBlueExtension> {
ide()
license()
util {
setJavaVersion("1.8")
}
}
}
configure(listOf("annotations", "processor").map { project(":$it") }) {
configure<InciseBlueExtension> {
maven {
projectDescription = "Annotation Processor for generating creator classes"
coords("kenzierocks", "apt-creator")
artifactName = "${rootProject.name}-${project.name}"
}
}
plugins.withId("maven-publish") {
arb.configure {
dependsOn(tasks.named("publish"))
}
}
}
tasks.register("build") {
dependsOn(subprojects.map { it.tasks.named("build") })
}