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 (20 lines) | stat: -rw-r--r-- 393 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
apply plugin: 'java-library'
apply plugin: 'maven-publish'

dependencies {
    testImplementation "junit:junit:$jUnitVersion"
}

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

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