-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
46 lines (37 loc) · 912 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
plugins {
id 'java'
}
group 'com.team2502'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile 'org.json:json:20190722'
compile 'org.riversun:slacklet:1.0.4'
}
sourceSets {
main {
java { srcDirs = ['src/java'] }
resources { srcDirs = ['src/resources'] }
}
// test {
// java { srcDirs = ['src/test/java'] }
// resources { srcDirs = ['src/test/resources'] }
// }
}
task runvis(dependsOn: 'build', type: JavaExec) {
main = 'com.team2502.timetracker.TimeTracker.java'
classpath = sourceSets.main.runtimeClasspath
}
jar {
manifest {
attributes 'Main-Class': 'com.github.ezauton.visualizer.Main'
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}