-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
39 lines (32 loc) · 1002 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
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
val kotlinVersion = "1.4.21"
kotlin("jvm") version kotlinVersion
kotlin("kapt") version kotlinVersion
id("com.github.johnrengelman.shadow") version "5.2.0"
kotlin("plugin.serialization") version kotlinVersion
}
group = "com.odalovic"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
val slf4jVersion = "1.7.25"
implementation(kotlin("stdlib"))
implementation("info.picocli:picocli:4.5.2")
annotationProcessor("info.picocli:picocli-codegen:4.5.2")
kapt("info.picocli:picocli-codegen:4.5.2")
implementation("fr.jcgay.send-notification:send-notification:0.16.0")
implementation("org.slf4j:slf4j-simple:$slf4jVersion")
}
kapt {
arguments {
arg("project", "${project.group}/${project.name}")
}
}
tasks.withType<ShadowJar>() {
manifest {
attributes["Main-Class"] = "com.odalovic.desktopnotifier.DesktopNotifierKt"
}
}