-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
64 lines (47 loc) · 1.28 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 'com.github.hierynomus.license' version '0.13.1'
id 'com.github.johnrengelman.shadow' version '1.2.4'
}
group 'com.github.projectsandstone'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'license'
apply plugin: 'com.github.johnrengelman.shadow'
license {
header rootProject.file("LICENSE_HEADER")
}
sourceCompatibility = 1.8
// Tasks
jar {
from "$rootProject.rootDir/LICENSE"
manifest {
attributes 'Implementation-Title': baseName,
'Implementation-Version': version
}
}
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
}
license {
String name = project.getName()
ext.name = "$name"
ext.organization = 'Sandstone (https://github.com/ProjectSandstone)'
ext.description = "Create and manage Minecraft GUIs"
ext.url = 'https://github.com/ProjectSandstone/GUIHelper2'
ext.year = Calendar.getInstance().get(Calendar.YEAR)
exclude "**/*.info"
exclude "**/*.md"
exclude "res/**"
exclude "src/main/resources/**"
exclude "src/test/resources/**"
header rootProject.file('LICENSE_HEADER')
sourceSets = project.sourceSets
ignoreFailures false
strictCheck true
mapping {
java = 'SLASHSTAR_STYLE'
}
}