-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
37 lines (32 loc) · 854 Bytes
/
build.gradle
File metadata and controls
37 lines (32 loc) · 854 Bytes
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
group 'com.coalesce'
version '1.0-SNAPSHOT'
apply plugin: 'idea'
apply plugin: 'java'
//noinspection SpellCheckingInspection
apply plugin: 'com.github.johnrengelman.shadow'
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
//noinspection SpellCheckingInspection,GroovyAssignabilityCheck
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.4'
}
}
dependencies {
compile project(":kgame-impl") // Compile upon shadowJar.
}
shadowJar {
archiveName "${rootProject.name}-${rootProject.version}.jar"
}
jar {
manifest {
//noinspection GroovyAssignabilityCheck
attributes([
//noinspection SpellCheckingInspection
'Main-Class': 'com.coalesce.kgame.Main',
'Version' : rootProject.version
])
}
}