-
Notifications
You must be signed in to change notification settings - Fork 77
/
build.gradle
85 lines (69 loc) · 1.94 KB
/
build.gradle
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
74
75
76
77
78
79
80
81
82
83
84
85
plugins {
id 'java'
}
defaultTasks 'clean', 'build', 'getDeps', 'buildZip'
description = 'Structurizr CLI'
group = 'com.structurizr'
version = ''
sourceCompatibility = 17
targetCompatibility = 17
repositories {
mavenCentral()
//mavenLocal()
}
dependencies {
def structurizrVersion = '3.1.0'
implementation "com.structurizr:structurizr-dsl:${structurizrVersion}"
implementation "com.structurizr:structurizr-export:${structurizrVersion}"
implementation "com.structurizr:structurizr-autolayout:${structurizrVersion}"
implementation "com.structurizr:structurizr-inspection:${structurizrVersion}"
implementation 'io.github.goto1134:structurizr-d2-exporter:1.5.3'
implementation 'commons-cli:commons-cli:1.9.0'
implementation 'org.codehaus.groovy:groovy-jsr223:3.0.22'
implementation 'org.jetbrains.kotlin:kotlin-scripting-jsr223:1.9.25'
implementation 'org.jruby:jruby-core:9.4.8.0'
def log4jVersion = '2.24.1'
implementation "org.apache.logging.log4j:log4j-api:${log4jVersion}"
implementation "org.apache.logging.log4j:log4j-core:${log4jVersion}"
implementation "org.apache.logging.log4j:log4j-jcl:${log4jVersion}"
implementation "org.apache.logging.log4j:log4j-slf4j-impl:${log4jVersion}"
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.11.3'
}
test {
useJUnitPlatform()
}
sourceSets.main.resources {
srcDirs = ['src/main/resources']
include 'build.properties'
}
jar {
manifest {
attributes(
'Implementation-Title': description,
'Implementation-Version': version
)
}
}
task getDeps(type: Copy) {
from configurations.default
into 'build/dependencies'
}
task buildZip(type: Zip) {
from ('build/libs/') {
include 'structurizr-cli*.jar'
into 'lib'
}
from ('build/dependencies') {
include '*.jar'
into 'lib'
}
from ('.') {
include 'README.md'
include 'docs/*'
include 'docs/images/*'
}
from ('etc') {
include 'structurizr.sh'
include 'structurizr.bat'
}
}