-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
64 lines (50 loc) · 1.02 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
58
59
60
61
62
63
64
plugins {
id 'java'
id 'idea'
id 'eclipse'
id 'com.github.hierynomus.license' version '0.11.0'
id 'com.github.johnrengelman.shadow' version '1.2.2'
}
defaultTasks 'clean', 'licenseFormat'
sourceCompatibility = 1.8
targetCompatibility = 1.8
group 'uk.jamierocks'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
compile 'com.google.guava:guava:18.0'
compile 'com.beust:jcommander:1.48'
}
processResources {
from 'LICENSE.txt'
}
jar {
classifier = 'base'
manifest {
attributes(
'Implementation-Title': project.name,
'Implementation-Version': version,
'Main-Class': 'uk.jamierocks.mcp2srg.Main'
)
}
}
shadowJar {
classifier = ''
}
license {
header file('HEADER.txt')
include '**/*.java'
include '**/*.groovy'
strictCheck true
mapping {
java = 'SLASHSTAR_STYLE'
}
}
artifacts {
archives shadowJar
}
task wrapper(type: Wrapper) {
gradleVersion = '2.9'
}