forked from Litarvan/Launcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
47 lines (40 loc) · 1.15 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
buildscript {
dependencies {
classpath group: 'de.dynamicfiles.projects.gradle.plugins', name: 'javafx-gradle-plugin', version: '8.8.2'
}
repositories {
mavenLocal()
mavenCentral()
}
}
apply plugin: 'java'
repositories {
mavenLocal()
mavenCentral()
maven { url "http://litarvan.github.io/maven" }
maven { url 'http://litarvan.github.io/maven' }
}
dependencies {
compile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.25'
compile 'fr.theshark34.s-update:s-update:3.1.0-BETA'
compile 'fr.litarvan:openlauncherlib:3.0.4'
compile 'fr.litarvan:openauth:1.0.4'
compile 'fr.litarvan.commons:litarvan-commons:1.0.0'
compile 'com.electronwill.night-config:toml:3.4.0'
}
apply plugin: 'javafx-gradle-plugin'
jfx {
// minimal requirement for jfxJar-task
mainClass = 'fr.sebastien.criquet.application.Main'
// minimal requirement for jfxNative-task
vendor = 'Sébastien'
useEnvironmentRelativeExecutables = false
}
task fatjar(type: Jar) {
from {
configurations.compile.collect {
it.isDirectory() ? it : zipTree(it)
}
}
with jar
}