-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
72 lines (61 loc) · 1.55 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
65
66
67
68
69
70
71
72
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '2.0.2'
id "com.github.hierynomus.license" version "0.14.0"
}
apply plugin: 'application'
mainClassName = "net.reallifegames.atlas.Atlas"
group 'net.reallifegames'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
jar {
baseName = "AtlasMaker"
version = version
manifest {
attributes(
'Main-Class': 'net.reallifegames.atlas.Atlas'
)
}
}
repositories {
mavenCentral()
maven {
name = 'reallifegames'
url = 'https://reallifegames.net/artifactory/gradle-release'
credentials {
username = "$cpasMavenUser"
password = "$cpasMavenPassword"
}
}
}
configurations {
compile.extendsFrom shadow
}
dependencies {
compile group: 'com.google.code.findbugs', name: 'jsr305', version: '1.3.9'
compile 'com.fasterxml.jackson.core:jackson-databind:2.9.4'
compile 'org.joml:joml:1.9.11'
compile 'org.ajgl:AJGL:1.0.2'
testCompile group: 'junit', name: 'junit', version: '4.12'
shadow 'com.fasterxml.jackson.core:jackson-databind:2.9.4'
shadow 'org.joml:joml:1.9.11'
shadow 'org.ajgl:AJGL:1.0.2'
}
license {
header project.file("LICENSE.txt")
strictCheck true
mapping {
java='SLASHSTAR_STYLE'
}
}
shadowJar {
baseName = "AtlasMaker"
classifier = null
version = version
manifest {
attributes(
'Main-Class': 'net.reallifegames.atlas.Atlas'
)
}
configurations = [project.configurations.shadow]
}