-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
39 lines (33 loc) · 1.05 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
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 {
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("org.apache.pdfbox:pdfbox:2.0.22")
implementation("com.github.dhorions:boxable:1.6")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:1.0.0")
implementation("com.charleskorn.kaml:kaml:0.26.0")
}
kapt {
arguments {
arg("project", "${project.group}/${project.name}")
}
}
tasks.withType<ShadowJar>() {
manifest {
attributes["Main-Class"] = "com.odalovic.invoicegenerator.InvoiceGeneratorKt"
}
}