-
Notifications
You must be signed in to change notification settings - Fork 45
/
build.gradle
75 lines (58 loc) · 2.06 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
73
74
75
group 'pw.tdekk'
version '0.4.1'
buildscript {
repositories {
mavenCentral()
}
}
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'eclipse'
mainClassName = 'dekk.pw.pokemate.PokeMate'
apply plugin: 'java'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
jcenter()
}
dependencies {
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.6.2'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.6.2'
compile 'com.lynden:GMapsFX:2.0.7'
compile 'com.google.maps:google-maps-services:0.1.15'
compile 'com.github.Grover-c13:PokeGOAPI-Java:Development-SNAPSHOT'
compile 'com.squareup.okhttp3:okhttp:3.4.0-RC1'
// https://mvnrepository.com/artifact/org.controlsfx/controlsfx
compile group: 'org.controlsfx', name: 'controlsfx', version: '8.40.11'
// https://mvnrepository.com/artifact/org.isuper/s2-geometry-library-java
compile group: 'org.isuper', name: 's2-geometry-library-java', version: '0.0.1'
// https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java
compile group: 'com.google.protobuf', name: 'protobuf-java', version: '3.0.0-beta-3'
//compile group: 'com.google.code.gson', name: 'gson', version: '2.7'
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.2'
testCompile group: 'junit', name: 'junit', version: '4.11'
}
task fatJar(type: Jar) {
manifest {
attributes 'Implementation-Title': 'Pokemate',
'Implementation-Version': version,
'Main-Class': mainClassName
}
baseName = project.name + '-all'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
tasks.withType(JavaCompile) {
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
}
jar {
manifest {
attributes(
'Class-Path': configurations.compile.collect { it.getName() }.join(' '),
'Main-Class': mainClassName
)
}
}