-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
49 lines (41 loc) · 900 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
40
41
42
43
44
45
46
47
48
49
// add java and application plugins
plugins {
id 'java'
id 'application'
}
group 'com.stupidrepo'
//version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
sourceSets {
main {
java {
srcDirs = ['src']
}
resources {
srcDirs = ["src/main/resources"]
}
}
}
//sourceSets {
// main {
// resources {
// srcDirs "src/main/resources"
// }
// }
//}
mainClassName = 'com.stupidrepo.mcscanner.MCScanner'
jar {
manifest {
attributes 'Main-Class': 'com.stupidrepo.mcscanner.MCScanner'
}
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
}
application {
mainClassName = 'com.stupidrepo.mcscanner.MCScanner'
}
dependencies {
implementation 'org.mongodb:mongodb-driver-sync:4.10.2'
}