-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
56 lines (45 loc) · 1.34 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
plugins {
id 'java'
id "com.github.johnrengelman.shadow" version "7.1.2"
id "com.github.ben-manes.versions" version "0.44.0"
// Usage: gradle dependencyUpdates -Drevision=release
}
apply plugin: 'application'
group 'ch.bubendorf.spam'
version '1.5.0'
compileJava {
sourceCompatibility = 17
targetCompatibility = 17
}
compileJava.options.encoding = 'UTF-8'
application {
mainClass = 'ch.bubendorf.spam.Main'
}
shadowJar {
//minimize{
// exclude(dependency('org.slf4j.spi'))
//}
manifest {
attributes 'Implementation-Title': 'ImapRSpamd'
attributes 'Implementation-Version': archiveVersion.get()
}
}
repositories {
mavenCentral()
}
dependencies {
implementation "com.beust:jcommander:1.82"
implementation "org.slf4j:slf4j-simple:2.0.6"
implementation 'com.sun.mail:jakarta.mail:2.0.1'
implementation 'com.sun.mail:imap:2.0.1'
implementation 'org.apache.commons:commons-collections4:4.4'
implementation 'org.apache.commons:commons-lang3:3.12.0'
implementation 'com.github.sisyphsu:dateparser:1.0.11'
implementation 'info.faljse:SDNotify:1.3'
compileOnly 'org.jetbrains:annotations:23.1.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
}
test {
useJUnitPlatform()
}