https://github.com/linkedin/databus
Tip revision: 001ff16e9325694e8d833283f405058eff9cb7ef authored by Greg Roelofs on 07 May 2020, 04:25:59 UTC
Merge pull request #126 from xiangyuf/fixDirectMemoryLeak
Merge pull request #126 from xiangyuf/fixDirectMemoryLeak
Tip revision: 001ff16
defaultEnvironment.gradle
repositories {
// for open source we cannot user internal repo
// so we add few open source ones
mavenCentral()
maven {
url "https://repo.fusesource.com/maven2"
}
maven {
url "https://maven.restlet.org"
}
// local repo for libs we have to ship with
def sandBoxRepo = "${project.rootDir}/sandbox-repo"
def sandBoxExists = new File(sandBoxRepo).isDirectory()
if (sandBoxExists) {
logger.debug "Adding repository $sandBoxRepo"
project.repositories.ivy {
name "sanboxRepo"
url sandBoxRepo
layout "pattern", {
artifact "[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]"
ivy "[organisation]/[module]/[revision]/[module]-[revision].ivy"
m2compatible = true
}
}
} else {
logger.debug "Not adding repository $sandBoxRepo as the directory does not exist."
}
}
project.buildDir = new File(project.rootProject.buildDir, project.name)