构建工具buck
Buck: An Android (and Java!) build tool
http://facebook.github.io/buck/
Facebook Buck和xctool:针对Android和iOS的开源构建工具
Gerrit为何会选择Buck
http://www.infoq.com/cn/news/2013/11/gerrit-buck
facebook / buck
https://github.com/facebook/buck
WALLED
Gradle
Java Lib:
gradle project install to local repo:
/home/erichan/IdeaProjects/quiland/java/air-io/build.gradle
configure(install.repositories.mavenInstaller) {
pom.project {
groupId 'feuyeux.io'
artifactId 'air-io'
version '1.0.0'
description = 'Installs the artifacts to the local Maven repository.'
}
}
Android reference:
/home/erichan/IdeaProjects/quiland/android/UdpBox/build.gradle
use the local repo:
allprojects {
repositories {
mavenCentral()
maven{
url "/home/erichan/.m2/repository"
}
}
}
/home/erichan/IdeaProjects/quiland/android/UdpBox/app/build.gradle
define this lib from local repo:
dependencies {
compile group: 'feuyeux.io', name: 'air-io', version: '1.0.0'
}