-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
39 lines (32 loc) · 984 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
/*
* This build file was auto generated by running the Gradle 'init' task
* by 'NathanMerrill' at '8/16/16 9:20 PM' with Gradle 3.0
*
* This generated file contains a commented-out sample Java project to get you started.
* For more details take a look at the Java Quickstart chapter in the Gradle
* user guide available at https://docs.gradle.org/3.0/userguide/tutorial_java_projects.html
*/
apply plugin: 'java'
apply plugin: 'application'
mainClassName = "fellowship.Main"
repositories {
jcenter()
}
dependencies {
compile project(':KoTHComm')
compile files('KoTHComm/build/libs/KoTHComm.jar')
}
run {
if ( project.hasProperty("appArgs") ) {
args Eval.me(appArgs)
}
}
jar {
from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
manifest {
attributes(
'Class-Path': configurations.compile.collect { it.getName() }.join(' '),
'Main-Class': mainClassName
)
}
}