-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
39 lines (33 loc) · 1000 Bytes
/
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
plugins {
id 'java'
}
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
group = 'com.liferay.upgrades'
version = '2.0.3'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.apache.commons:commons-lang3:3.13.0'
implementation group: 'org.json', name: 'json', version: '20240303'
implementation group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.19.0'
implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.19.0'
testImplementation platform('org.junit:junit-bom:5.9.1')
testImplementation 'org.junit.jupiter:junit-jupiter'
}
jar {
project.version=""
duplicatesStrategy = DuplicatesStrategy.INCLUDE
manifest {
attributes(
'Main-Class': 'com.liferay.upgrades.analyzer.main.Main'
)
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
test {
useJUnitPlatform()
}