-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
51 lines (40 loc) · 1.04 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
buildscript {
repositories {
jcenter()
flatDir {
dirs 'libs'
}
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.1'
}
}
apply plugin: 'java'
apply plugin: 'com.github.johnrengelman.shadow'
group 'br.com.finalcraft'
version '1.1.1a'
compileJava.options.encoding = 'UTF-8'
repositories {
flatDir {
dirs 'libs'
}
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
//compile 'com.jfoenix:jfoenix:8.0.8' // Java 8
compile group: 'org.jfree', name: 'jfreechart', version: '1.5.0' //JFreeChart for histograms
// https://mvnrepository.com/artifact/org.controlsfx/controlsfx
compile group: 'org.controlsfx', name: 'controlsfx', version: '8.40.17'
}
shadowJar {
dependencies {
exclude(dependency('shadow:d:1.0'))
}
archiveName = "${baseName}-${version}.jar"
manifest {
attributes 'Main-Class': 'br.com.finalcraft.unesp.java.pdi.JavaFXMain'
}
}
build.dependsOn(shadowJar)
jar.enabled = false