This repository has been archived by the owner on Jun 2, 2021. It is now read-only.
forked from CS3733/AlcoholLabelProject
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
72 lines (59 loc) · 2.08 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
group 'com.emeraldElves.alcohollabelproject'
version '0.1'
apply plugin: 'java'
apply plugin: 'application'
mainClassName = "com.emeraldElves.alcohollabelproject.ui.Main"
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
sourceSets {
integrationTest {
java {
compileClasspath += main.output + test.output
runtimeClasspath += main.output + test.output
srcDir file('src/integration-test/java')
}
resources.srcDir file('src/integration-test/resources')
}
}
configurations {
integrationTestCompile.extendsFrom testCompile
integrationTestRuntime.extendsFrom testRuntime
}
task integrationTest(type: Test) {
testClassesDir = sourceSets.integrationTest.output.classesDir
classpath = sourceSets.integrationTest.runtimeClasspath
outputs.upToDateWhen { false }
}
dependencies {
compile 'org.apache.commons:commons-lang3:3.1'
compile fileTree(dir: 'libs', include: '*.jar')
compile 'org.apache.derby:derby:10.11.1.1', 'org.apache.commons:commons-lang3:3.5', 'org.controlsfx:controlsfx:8.40.12'
compile 'commons-io:commons-io:2.4'
compile 'com.jfoenix:jfoenix:8.0.2'
compile 'me.xdrop:fuzzywuzzy:1.1.9'
compile 'com.opencsv:opencsv:4.0'
compile group: 'javax.mail', name: 'mail', version: '1.4.7'
compile group: 'org.jasypt', name: 'jasypt', version: '1.9.2'
testCompile group: 'junit', name: 'junit', version: '4.11'
testCompile "org.testfx:openjfx-monocle:8u76-b04" // jdk-9+181 for Java 9
testCompile "org.testfx:testfx-core:4.0.13-alpha"
testCompile "org.testfx:testfx-junit:4.0.13-alpha"
compile 'org.apache.pdfbox:pdfbox:2.0.4'
compile 'org.bouncycastle:bcprov-jdk15on:1.54'
compile 'org.bouncycastle:bcmail-jdk15on:1.54'
compile 'org.bouncycastle:bcpkix-jdk15on:1.54'
compile 'com.nulab-inc:zxcvbn:1.2.5'
}
check.dependsOn integrationTest
integrationTest.mustRunAfter test
test {
outputs.upToDateWhen { false }
}
jar {
manifest {
attributes 'Main-Class': mainClassName
}
from configurations.runtime.collect { zipTree(it) }
}