-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
54 lines (50 loc) · 1.25 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
plugins {
id "org.openstreetmap.josm" version "0.8.2"
id "com.diffplug.spotless" version "5.17.0"
id "de.undercouch.download" version "4.1.2"
}
apply plugin: 'java-library'
apply plugin: 'jacoco'
apply plugin: 'application'
repositories {
jcenter()
mavenCentral()
}
java.sourceCompatibility = JavaVersion.VERSION_1_8
java.targetCompatibility = JavaVersion.VERSION_1_8
project.version = "1.0.0"
dependencies {
api files("libs/jogamp-fat.jar")
api group: 'org.joml', name: 'joml', version: '1.10.1'
packIntoJar("org.joml:joml:1.10.1")
packIntoJar(files("libs/jogamp-fat.jar"))
//packIntoJar("otherGroupId:otherArtifactId:42.0.0")
}
spotless {
format("misc") {
target("**/*.gradle", "**.*.md", "**/.gitignore")
trimTrailingWhitespace()
indentWithSpaces(4)
endWithNewline()
}
java {
// Avoid large formatting commits.
ratchetFrom("origin/master")
trimTrailingWhitespace()
indentWithSpaces(4)
endWithNewline()
removeUnusedImports()
importOrder("java", "javax", "")
}
}
download {
mkdir "libs"
src 'https://jogamp.org/deployment/archive/rc/v2.4.0-rc-20210111/fat/jogamp-fat.jar'
dest "libs"
overwrite false
}
josm {
pluginName = "panoviewer"
debugPort = 54321
josmCompileVersion = 18940
}