-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
39 lines (30 loc) · 935 Bytes
/
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
apply plugin: 'java'
apply plugin: 'application'
version '1.0'
mainClassName = "newbilius.GamesRevival.Application"
sourceCompatibility = 1.11
repositories {
mavenCentral()
maven { url "https://repo.spring.io/libs-release" }
}
compileJava{
options.encoding = "UTF-8"
}
dependencies {
compile group: 'org.reflections', name: 'reflections', version: '0.9.11'
compile group: 'com.atlassian.commonmark', name: 'commonmark', version: '0.12.1'
compile group: 'com.atlassian.commonmark', name: 'commonmark-ext-gfm-tables', version: '0.12.1'
compile "com.google.code.gson:gson:2.8.0"
}
run {
if (project.hasProperty("appArgs")) {
args Eval.me(appArgs)
}
}
jar {
manifest {
attributes 'Main-Class': mainClassName
}
archiveName = 'GamesRevival.jar'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
}