-
-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathbuild.gradle
79 lines (64 loc) · 1.75 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
plugins {
id 'org.springframework.boot' version '3.4.2'
id 'io.spring.dependency-management' version '1.1.7'
id 'java'
id 'jvm-test-suite'
id 'war'
}
group = 'com.structurizr'
sourceCompatibility = '17'
targetCompatibility = '17'
repositories {
mavenCentral()
mavenLocal()
}
testing {
suites {
test {
useJUnitJupiter()
}
integrationTest(JvmTestSuite) {
dependencies {
implementation project()
}
targets {
all {
testTask.configure {
shouldRunAfter(test)
}
}
}
}
}
}
tasks.named('check') {
dependsOn(testing.suites.integrationTest)
}
ext {
set('snakeyaml.version','2.0')
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.apache.tomcat.embed:tomcat-embed-jasper:10.1.34'
implementation 'jakarta.servlet.jsp.jstl:jakarta.servlet.jsp.jstl-api:3.0.0'
implementation 'org.glassfish.web:jakarta.servlet.jsp.jstl:3.0.1'
implementation "com.structurizr:structurizr-dsl:${structurizrVersion}"
implementation "com.structurizr:structurizr-autolayout:${structurizrVersion}"
implementation "com.structurizr:structurizr-inspection:${structurizrVersion}"
implementation 'org.codehaus.groovy:groovy-jsr223:3.0.23'
implementation 'org.jetbrains.kotlin:kotlin-scripting-jsr223:1.9.25'
implementation 'org.jruby:jruby-core:9.4.10.0'
def luceneVersion = '9.12.1'
implementation "org.apache.lucene:lucene-core:${luceneVersion}"
implementation "org.apache.lucene:lucene-queryparser:${luceneVersion}"
}
bootWar {
requiresUnpack '**/kotlin-*.jar'
}
configurations {
integrationTestImplementation.extendsFrom testImplementation
integrationTestRuntimeOnly.extendsFrom testRuntimeOnly
}
configurations.all {
exclude group: "commons-logging", module: "commons-logging"
}