-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
88 lines (66 loc) · 2.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'distribution'
apply plugin: 'groovy'
//apply from: 'gradle/gradle/helpers.gradle'
sourceCompatibility = 1.8
targetCompatibility = 1.8
jar {
from {
(configurations.runtime).collect {
it.isDirectory() ? it : zipTree(it)
}
}
manifest {
attributes "Main-Class": "it.uniroma1.fastcharge.carmonitor.app.MainApp"
}
}
/*
// Global Settings /////////////////////////////////////////////////////////////
project.ext {
applicationVersion = "1.0-alpha"
applicationRelease = isApplicationRelease()
applicationDate = new Date()
applicationRevision = getRevision()
applicationVersionSnapshot = (!applicationRelease) ? "+SNAPSHOT.${asUTC(applicationDate, 'yyMMddHHmm')}.git${applicationRevision}" : ""
applicationVersionFull = "${applicationVersion}${applicationVersionSnapshot}"
}
// Gradle scripts and tasks ////////////////////////////////////////////////////
apply from: 'gradle/gradle/packaging.innosetup.gradle' */
// Projects settings //////////////////////////////////////////////////////////
repositories {
//mavenCentral()
jcenter()
}
dependencies {
implementation 'com.google.guava:guava:23.0'
implementation 'com.google.code.gson:gson:2.8.4'
compile 'com.jfoenix:jfoenix:8.0.3'
compile 'com.fazecast:jSerialComm:2.0.2'
compile 'org.gillius:jfxutils:1.0'
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.1'
// https://mvnrepository.com/artifact/eu.hansolo/Medusa
compile group: 'eu.hansolo', name: 'Medusa', version: '5.7'
// https://mvnrepository.com/artifact/org.apache.commons/commons-csv
compile group: 'org.apache.commons', name: 'commons-csv', version: '1.1'
// https://mvnrepository.com/artifact/commons-logging/commons-logging
compile group: 'commons-logging', name: 'commons-logging', version: '1.1.1'
/* TEST GROUP */
testImplementation 'junit:junit:4.12'
testCompile("org.testfx:testfx-core:4.0.13-alpha",
"org.testfx:testfx-junit:4.0.13-alpha",
"org.codehaus.groovy:groovy-all:2.4.4",
"org.spockframework:spock-core:1.0-groovy-2.4"
)
testRuntime(
"com.athaydes:spock-reports:1.2.7"
)
}
mainClassName = "it.uniroma1.fastcharge.carmonitor.app.MainApp"
sourceSets {
main {
resources {
srcDirs = ["src/main/java"]
}
}
}