-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
57 lines (43 loc) · 1.13 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
51
52
53
54
55
56
57
apply plugin: 'scala'
apply plugin: 'java'
apply plugin: 'application'
sourceCompatibility = 1.6
// Maven Artefacts Info
group = "org.oc.ld32"
archivesBaseName = 'LD32'
mainClassName = 'org.oc.ld32.Game'
apply plugin: 'eclipse'
apply plugin: 'idea'
repositories {
mavenCentral()
maven {
name = 'sonatype-nexus'
url = 'https://oss.sonatype.org/content/groups/public/'
}
maven {
name = 'RX14-maven'
url = 'http://mvn.rx14.co.uk/local'
}
}
if (System.env.BUILD_NUMBER != null) version = "$version.$System.env.BUILD_NUMBER"
task wrapper(type: Wrapper) {
gradleVersion = '2.3'
}
//force UTF-8 to the compileJava task
compileJava.options.encoding = 'UTF-8'
compileScala.options.encoding = 'UTF-8'
tasks.withType(ScalaCompile) {
scalaCompileOptions.useAnt = false
}
jar {
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
include '**'
manifest {
attributes 'Main-Class': mainClassName
}
}
dependencies {
compile 'org.scala-lang:scala-library:2.11.1'
compile 'com.google.code.gson:gson:2.3.1'
compile project(':LudumEngine')
}