forked from naver/scavenger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
43 lines (37 loc) · 926 Bytes
/
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
plugins {
idea
id("net.researchgate.release") version "3.0.2"
}
allprojects {
group = "com.navercorp.scavenger"
repositories {
mavenCentral()
}
// setting for frontend build
apply(plugin = "idea")
idea {
module {
outputDir = file("build/classes/kotlin/main")
testOutputDir = file("build/classes/kotlin/test")
}
}
}
release {
val releaseVersion = if (hasProperty("release.releaseVersion")) {
property("release.releaseVersion")
} else {
version
}
pushReleaseVersionBranch.set("release/${ releaseVersion }")
tagTemplate.set("v${ releaseVersion }")
preTagCommitMessage.set("Release ")
newVersionCommitMessage.set("Update next development version after Release")
with(git) {
requireBranch.set("main")
}
}
subprojects {
tasks.withType<Test> {
useJUnitPlatform()
}
}