-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
70 lines (59 loc) · 3.02 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
plugins {
id 'java'
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.7'
}
group 'com.omb.ocpp'
version '1.1.0'
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
javafx {
version = "11.0.2"
modules = [ 'javafx.controls', 'javafx.graphics', 'javafx.base']
}
mainClassName='com.omb.ocpp.gui.GuiApplication'
jar {
manifest {
attributes 'Main-Class': 'com.omb.ocpp.gui.Application'
}
exclude 'META-INF/*.RSA', 'META-INF/*.SF', 'META-INF/*.DSA'
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
dependencies {
compile group: 'javax.activation', name: 'activation', version: '1.1.1'
compile group: 'javax.xml', name: 'jaxb-api', version: '2.1'
compile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.0'
compile group: 'javax.ws.rs', name: 'javax.ws.rs-api', version: '2.1'
compile group: 'javax.xml.ws', name: 'jaxws-api', version: '2.3.1'
compile group: 'org.eclipse.jetty', name: 'jetty-plus', version: '9.4.10.v20180503'
compile group: 'org.glassfish.jersey.containers', name: 'jersey-container-servlet-core', version: '2.27'
compile group: 'org.glassfish.jersey.inject', name: 'jersey-hk2', version: '2.27'
compile group: 'org.glassfish.jersey.media', name: 'jersey-media-json-jackson', version: '2.7'
compile group: 'org.glassfish.jersey.media', name: 'jersey-media-multipart', version: '2.27'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.4'
compile group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: '2.9.4'
compile group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jdk8', version: '2.9.4'
compile group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: '1.61'
compile group: 'org.bouncycastle', name: 'bcpkix-jdk15on', version: '1.61'
compile group: 'org.codehaus.groovy', name: 'groovy-all', version: '3.0.0-alpha-4'
compile group: 'commons-beanutils', name: 'commons-beanutils', version: '1.9.4'
compile group: 'org.apache.commons', name: 'commons-configuration2', version: '2.5'
runtimeOnly "org.openjfx:javafx-base:$javafx.version:win"
runtimeOnly "org.openjfx:javafx-base:$javafx.version:linux"
runtimeOnly "org.openjfx:javafx-base:$javafx.version:mac"
runtimeOnly "org.openjfx:javafx-graphics:$javafx.version:win"
runtimeOnly "org.openjfx:javafx-graphics:$javafx.version:linux"
runtimeOnly "org.openjfx:javafx-graphics:$javafx.version:mac"
runtimeOnly "org.openjfx:javafx-controls:$javafx.version:win"
runtimeOnly "org.openjfx:javafx-controls:$javafx.version:linux"
runtimeOnly "org.openjfx:javafx-controls:$javafx.version:mac"
compile 'com.github.v-bodnar.Java-OCA-OCPP:v1_6:master-SNAPSHOT'
compile 'com.github.v-bodnar.Java-OCA-OCPP:common:master-SNAPSHOT'
testCompile group: 'junit', name: 'junit', version: '4.12'
}