-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
64 lines (50 loc) · 1.69 KB
/
build.gradle
File metadata and controls
64 lines (50 loc) · 1.69 KB
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
plugins {
id 'java'
}
group = 'org.openmbee.flexo'
version = '1.0.0'
repositories {
mavenCentral()
}
dependencies {
// Core CLI (provided - not bundled)
compileOnly files('../flexo-cli-client/build/libs/flexo-cli-client-0.1.0.jar')
// Picocli for command line parsing
implementation 'info.picocli:picocli:4.7.5'
// HTTP client
implementation 'org.apache.httpcomponents.client5:httpclient5:5.3'
// JSON processing
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.0'
implementation 'com.fasterxml.jackson.core:jackson-core:2.17.0'
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.17.0'
// Logging
implementation 'org.slf4j:slf4j-api:2.0.9'
// Testing
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.0'
testImplementation 'org.mockito:mockito-core:5.8.0'
testImplementation files('../flexo-cli-client/build/libs/flexo-cli-client-0.1.0.jar')
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
test {
useJUnitPlatform()
maxParallelForks = 1
forkEvery = 1
// Disable parallel test execution within JUnit
systemProperty 'junit.jupiter.execution.parallel.enabled', 'false'
}
jar {
archiveBaseName = 'flexo-cli-sysmlv2-plugin'
// Include dependencies in JAR (fat jar)
from {
configurations.runtimeClasspath.collect {
it.isDirectory() ? it : zipTree(it)
}
}
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
// Exclude META-INF signature files
exclude 'META-INF/*.SF', 'META-INF/*.DSA', 'META-INF/*.RSA'
}