summaryrefslogtreecommitdiff
path: root/build.gradle
blob: cb676140047c4342b2b009b53682eb2916c494ba (plain) (blame)
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
buildscript {
    repositories {
        mavenCentral()
    }

    dependencies {
        classpath 'eu.appsatori:gradle-fatjar-plugin:0.2-rc1'
    }
}

apply plugin: "java"
apply plugin: "eclipse"
apply plugin: "maven"
apply plugin: "fatjar"

sourceCompatibility = 1.7
targetCompatibility = 1.7

group = "com.cuchazinteractive"
archivesBaseName = "enigma"
version = "0.3b"

sourceSets
{
	main
	{
		java
		{
			srcDir "src"
		}
		resources
		{
			srcDir "conf"
		}
	}
	test
	{
		java
		{
			srcDir "test"
		}
		resources
		{
			srcDir "conf"
		}
	}
}

repositories
{
	mavenCentral()
}

dependencies
{
	compile fileTree( dir: "libs", include: "*.jar" )
	compile "de.sciss:jsyntaxpane:1.0.0"
	compile "com.google.guava:guava:17.0"
	compile "org.javassist:javassist:3.18.1-GA"
	
	testCompile "junit:junit:4.11"
}

fatJar
{
	from ".", {
		include "*.txt"
	}
	manifest
	{
		attributes(
			"Title": archivesBaseName,
			"Manifest-Version": "1.0",
			"Version": version,
			"Main-Class" : "cuchaz.enigma.Main"
		)
	}
}