forked from opensciencemap/vtm
-
Notifications
You must be signed in to change notification settings - Fork 89
/
build.gradle
42 lines (38 loc) · 1.35 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
apply plugin: 'application'
dependencies {
implementation project(':vtm-desktop-lwjgl')
file("${rootDir}/vtm-desktop/natives").eachDir() { dir ->
implementation files(dir.path)
}
implementation project(':vtm-extras')
implementation project(':vtm-gdx-poi3d')
implementation project(':vtm-http')
//implementation project(':vtm-jeo')
implementation project(':vtm-json')
implementation project(':vtm-jts')
implementation project(':vtm-models')
implementation project(':vtm-mvt')
implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
implementation "org.slf4j:slf4j-jdk14:$slf4jVersion"
}
sourceSets {
main.java.srcDirs = ['src']
main.resources.srcDirs = ['resources']
}
application {
mainClass = "org.oscim.test.MapsforgeTest"
run {
if (project.hasProperty("args")) {
args project.getProperty("args").split(",")
}
}
task fatJar(type: Jar, dependsOn: configurations.runtimeClasspath) {
archiveClassifier = 'jar-with-dependencies'
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
exclude 'META-INF/*.DSA', 'META-INF/*.RSA', 'META-INF/*.SF', 'META-INF/services/io.jeo.data.Driver'
manifest {
attributes 'Main-Class': "${mainClass}"
}
with jar
}
}