-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
50 lines (42 loc) · 1.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
buildscript {
repositories {
jcenter()
flatDir {
dirs 'libs'
}
}
dependencies {
//classpath group: 'de.dynamicfiles.projects.gradle.plugins', name: 'drawings-gradle-plugin', version: '8.8.2'
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.1'
}
}
apply plugin: 'java'
apply plugin: 'com.github.johnrengelman.shadow'
//apply plugin: 'drawings-gradle-plugin'
group 'br.com.finalcraft'
version '1.0.2a'
sourceCompatibility = 1.8
compileJava.options.encoding = 'UTF-8'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
repositories {
flatDir {
dirs 'libs'
}
mavenCentral()
}
dependencies {
compile 'com.jfoenix:jfoenix:8.0.8' // Java 8
}
shadowJar {
dependencies {
exclude(dependency('shadow:d:1.0'))
}
archiveName = "${baseName}-${version}.jar"
manifest {
attributes 'Main-Class': 'br.com.finalcraft.unesp.tc.maquinaturing.JavaFXMain'
}
}
build.dependsOn(shadowJar);
jar.enabled = false