-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
57 lines (48 loc) · 1.18 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
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
import org.jetbrains.changelog.Changelog
plugins {
id("java")
id("org.jetbrains.intellij") version "1.15.0"
id("org.jetbrains.changelog") version "2.1.2"
}
group = "com.kinglozzer"
version = "1.0.4"
sourceSets {
main {
java.srcDirs("src/main/java", "src/main/gen")
}
}
repositories {
mavenCentral()
}
intellij {
version.set("2022.3")
}
tasks {
test {
testLogging {
exceptionFormat = TestExceptionFormat.FULL
}
}
patchPluginXml {
untilBuild.set("")
changeNotes.set(provider {
changelog.renderItem(
changelog
.getLatest()
.withHeader(false)
.withEmptySections(false),
Changelog.OutputType.HTML
)
})
}
}
changelog {
version.set("1.0.4")
path.set(file("CHANGELOG.md").canonicalPath)
header.set(provider { "${version.get()}" })
itemPrefix.set("-")
keepUnreleasedSection.set(true)
unreleasedTerm.set("[Unreleased]")
groups.set(listOf("Added", "Changed", "Deprecated", "Removed", "Fixed"))
}