File: build.defaults.gradle

package info (click to toggle)
libsequence-library-java 1.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 500 kB
  • ctags: 686
  • sloc: java: 2,956; sh: 127; xml: 20; makefile: 7
file content (12 lines) | stat: -rw-r--r-- 550 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
project.ext.setProperty('buildPluginRepositoryURL', 'http://maven.tmatesoft.com:8080/content/repositories/releases/')

if (!project.hasProperty('mavenProxyRepository.url')) {
    setPropertyDefaultValue('mavenCentralRepository.url', 'http://repo1.maven.org/maven2/')
    setPropertyDefaultValue('mavenTMateSoftRepository.url', 'http://maven.tmatesoft.com/content/repositories/snapshots')
}

def setPropertyDefaultValue(String name, String value) {
    if (!project.hasProperty(name)) {
         project.ext.setProperty(name, value)
    }
}