-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
65 lines (52 loc) · 1.98 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
apply plugin: 'eclipse'
//All dependencies needed to compile the project are defined here, at root level
buildscript {
repositories {
mavenLocal()
maven { url "https://plugins.gradle.org/m2/"}
maven { url "http://oss.sonatype.org/content/repositories/snapshots/" }
maven {url 'http://oss.sonatype.org/content/repositories/snapshots/'}
}
// make sure we don't cache stale snapshot versions
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
dependencies {
classpath 'org.hidetake:gradle-ssh-plugin:2.7.2'
classpath "org.standardout:bnd-platform:1.6.0-SNAPSHOT"
classpath "com.diffplug.gradle:goomph:3.9.0-SNAPSHOT"
classpath "nu.studer:gradle-credentials-plugin:1.0.1"
}
}
gradle.afterProject {project, projectState ->
if (projectState.failure) {
println "Evaluation of $project FAILED"
} else {
println "Evaluation of $project succeeded"
}
}
repositories {
mavenCentral()
}
subprojects {
repositories {
// SNAPSHOT versions are free to rely on other SNAPSHOT libraries
if (project.version.endsWith('SNAPSHOT')) {
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
}
// local eclipse maven (created by Goomph)
maven {
url rootProject.file('target.p2/build/p2asmaven/maven')
}
maven { url 'http://maven.nuiton.org/release'}
maven { url 'http://maven.geotoolkit.org' }
maven { url 'https://mvnrepository.com/'}
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
maven { url 'http://dl.bintray.com/anrgenstar/genstar-packages'}
maven { url 'http://download.osgeo.org/webdav/geotools/'}
maven { url 'http://repo.boundlessgeo.com/main/' }
mavenCentral()
}
}