-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
62 lines (52 loc) · 1.48 KB
/
Copy pathbuild.gradle
File metadata and controls
62 lines (52 loc) · 1.48 KB
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
61
62
buildscript {
repositories {
mavenCentral()
}
}
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.6.21'
id 'idea'
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'net.researchgate.release' version '2.8.1'
}
group 'xyz.poeschl'
sourceCompatibility = JavaVersion.VERSION_17
repositories {
mavenCentral()
}
dependencies {
implementation 'com.xenomachina:kotlin-argparser:2.0.7'
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1'
implementation 'io.github.microutils:kotlin-logging-jvm:2.1.21'
implementation 'ch.qos.logback:logback-classic:1.2.11'
implementation 'xyz.poeschl:Kixelflut:2.0.1'
}
compileKotlin {
kotlinOptions.jvmTarget = project.sourceCompatibility
}
compileTestKotlin {
kotlinOptions.jvmTarget = project.sourceCompatibility
}
jar {
manifest {
attributes 'Main-Class': 'xyz.poeschl.pixeljet.ApplicationKt'
}
}
shadowJar {
archiveClassifier.set('')
}
import java.util.regex.Matcher
release {
buildTasks = []
preTagCommitMessage = ':bookmark: pre tag commit: '
tagCommitMessage = ':bookmark: creating tag: '
newVersionCommitMessage = ':bookmark: new version commit: '
git {
requireBranch = 'main'
}
versionPatterns = [
/(\d+)\.(\d+)\.(\d+)([^\d]*$)/: { Matcher m, Project p -> m.replaceAll("${m[0][1]}.${(m[0][2] as int) + 1}.${m[0][3]}${m[0][4]}") }
]
}