forked from avisi-cloud/structurizr-site-generatr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
73 lines (56 loc) · 2.08 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
plugins {
kotlin("jvm") version "1.9.0"
kotlin("plugin.serialization") version "1.9.0"
application
}
description = "Structurizr Site Generatr"
group = "cloud.avisi"
version = project.properties["projectVersion"] ?: "0.0.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
implementation(platform("org.jetbrains.kotlin:kotlin-bom"))
implementation("org.jetbrains.kotlin:kotlin-stdlib")
implementation("org.jetbrains.kotlinx:kotlinx-cli:0.3.5")
implementation("org.eclipse.jgit:org.eclipse.jgit:6.6.0.202305301015-r")
implementation("com.structurizr:structurizr-core:1.24.1")
implementation("com.structurizr:structurizr-dsl:1.30.3")
implementation("com.structurizr:structurizr-export:1.15.0")
implementation("net.sourceforge.plantuml:plantuml:1.2023.10")
implementation("com.vladsch.flexmark:flexmark-all:0.64.8")
implementation("org.jsoup:jsoup:1.16.1")
implementation("org.jetbrains.kotlinx:kotlinx-html-jvm:0.9.1")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.1")
implementation("org.eclipse.jetty:jetty-server:11.0.15")
implementation("org.eclipse.jetty:jetty-servlet:11.0.15")
implementation("org.eclipse.jetty.websocket:websocket-jetty-server:11.0.15")
runtimeOnly("org.slf4j:slf4j-simple:2.0.7")
runtimeOnly("org.jetbrains.kotlin:kotlin-scripting-jsr223:1.9.0")
runtimeOnly("org.codehaus.groovy:groovy-jsr223:3.0.18")
runtimeOnly("org.jruby:jruby-core:9.4.3.0")
testImplementation(kotlin("test"))
testImplementation("org.junit.jupiter:junit-jupiter-params")
testImplementation("com.willowtreeapps.assertk:assertk-jvm:0.26.1")
}
application {
mainClass.set("nl.avisi.structurizr.site.generatr.AppKt")
}
kotlin {
jvmToolchain(19)
}
tasks {
test {
useJUnitPlatform()
}
jar {
manifest {
attributes["Implementation-Title"] = project.description
attributes["Implementation-Version"] = project.version
}
}
withType<Tar> {
archiveExtension.set("tar.gz")
compression = Compression.GZIP
}
}