forked from fieldpapers/josm-fieldpapers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
41 lines (36 loc) · 868 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
plugins {
id "org.openstreetmap.josm" version "0.3.1"
id 'eclipse'
id 'idea'
}
apply from: 'gradle/version-functions.gradle'
sourceCompatibility = '1.8'
version = getVersionName()
sourceSets {
main {
java {
srcDirs = ['src']
}
resources {
srcDirs = ["$projectDir"]
include 'data/**'
include 'images/**'
include 'README.md'
}
}
}
archivesBaseName = 'fieldpapers'
josm {
i18n {
pathTransformer = getGithubPathTransformer('fieldpapers/josm-fieldpapers')
}
manifest {
oldVersionDownloadLink 10273, 'v0.4.2', new URL('https://github.com/floscher/josm-fieldpapers/releases/download/v0.4.2/fieldpapers.jar')
}
}
eclipse.project.name = 'JOSM-fieldpapers'
eclipseClasspath.dependsOn cleanEclipseClasspath
eclipseProject.dependsOn cleanEclipseProject
tasks.withType(Javadoc) {
failOnError false
}