forked from feitosa-daniel/java2umltext
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
42 lines (34 loc) · 704 Bytes
/
build.gradle
File metadata and controls
42 lines (34 loc) · 704 Bytes
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
plugins {
id 'java'
}
group 'com.java2umltext'
archivesBaseName = 'java2umltext'
version '0.1.0'
sourceCompatibility = 1.16
targetCompatibility = 1.16
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
repositories {
mavenCentral()
}
dependencies {
implementation "com.github.javaparser:javaparser-core:3.24.2"
implementation 'info.picocli:picocli:4.6.3'
}
jar {
manifest {
attributes(
'Main-Class': 'com.java2umltext.Client'
)
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
tasks.withType(Jar) {
duplicatesStrategy = "include"
}
test {
useJUnitPlatform()
}