File: build.gradle

package info (click to toggle)
mapsforge 0.17.0%2Bdfsg.1-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 40,772 kB
  • sloc: java: 43,307; xml: 6,707; sh: 140; makefile: 23
file content (30 lines) | stat: -rw-r--r-- 633 bytes parent folder | download
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
apply plugin: 'java-library'
apply plugin: 'maven-publish'

repositories {
    flatDir {
        dirs '/usr/share/java'
    }
}

dependencies {
    api project(":mapsforge-map-reader")
    api 'com.formdev:svgSalamander:1.1.2.4'
    testImplementation project(":mapsforge-themes")
    compile name: 'svgSalamander'
    testImplementation "junit:junit:$jUnitVersion"
}

publishing {
    publications {
        maven(MavenPublication) {
            from components.java
        }
    }
}

if (project.hasProperty("SONATYPE_USERNAME")) {
    afterEvaluate {
        project.apply from: "${rootProject.projectDir}/deploy.gradle"
    }
}