File: build.gradle

package info (click to toggle)
mapsforge 0.20.0-2
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 40,304 kB
  • sloc: java: 38,655; xml: 6,714; sh: 140; makefile: 23
file content (25 lines) | stat: -rw-r--r-- 633 bytes parent folder | download | duplicates (2)
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
apply plugin: 'java-library'
apply plugin: 'maven-publish'

dependencies {
    api project(":mapsforge-core")
    compileOnly 'net.sf.kxml:kxml2:2.3.0'
    testImplementation 'commons-io:commons-io:2.5'
    testImplementation "junit:junit:$jUnitVersion"
    testImplementation 'org.mortbay.jetty:jetty:6.1.26'
    testImplementation 'org.slf4j:slf4j-log4j12:1.7.28'
}

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

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