-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle
43 lines (38 loc) · 941 Bytes
/
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
plugins {
id "java"
id "org.openstreetmap.josm" version "0.8.2"
}
sourceCompatibility = '11'
sourceSets {
main {
java {
srcDirs = ['src']
}
resources {
srcDirs = ["$projectDir"]
include 'data/**'
include 'images/**'
include 'README.md'
}
}
}
archivesBaseName = 'fieldpapers'
josm {
version = '0.5.0'
i18n {
pathTransformer = getPathTransformer(project.projectDir, "github.com/fieldpapers/josm-fieldpapers/blob")
}
manifest {
oldVersionDownloadLink 10273, 'v0.4.2', new URL('https://github.com/floscher/josm-fieldpapers/releases/download/v0.4.2/fieldpapers.jar')
oldVersionDownloadLink 14140, 'v0.5.0', new URL('https://github.com/fieldpapers/josm-fieldpapers/releases/download/v0.5.0/fieldpapers.jar')
}
}
tasks.withType(Javadoc) {
failOnError false
}
tasks.withType(JavaCompile) {
options.compilerArgs += [
"-Xlint:all",
"-Xlint:-serial",
]
}