diff options
author | Yigit Boyar <yboyar@google.com> | 2015-07-09 10:51:54 -0700 |
---|---|---|
committer | Yigit Boyar <yboyar@google.com> | 2015-07-14 16:52:35 -0700 |
commit | 24bec1cc542de69e0e21cc774469f20d34811ad9 (patch) | |
tree | 4709494d783cec648090ac30c59af03fd56aed88 /compilerCommon | |
parent | 070c9f6208e036b6656446d36746d97cad541d21 (diff) | |
download | data-binding-24bec1cc542de69e0e21cc774469f20d34811ad9.tar.gz |
Localize Maven
This CL introduces a new development plugin that downloads all
dependencies into the given repository. This will allow us to
build data binding in build servers w/o internet connection.
By default, it is setup to disable public repositories to avoid
adding a new dependency w/o running the script.
Public repositories can be added by running -PaddRemoteRepos=true.
There is also a convenience script to fetch dependencies.
localize.sh
Bug: 19626302
Change-Id: I9d200550b76c3b60119cdbbdb4e1e7772d0da1d7
Diffstat (limited to 'compilerCommon')
-rw-r--r-- | compilerCommon/build.gradle | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/compilerCommon/build.gradle b/compilerCommon/build.gradle index 4a5577c9..61477dad 100644 --- a/compilerCommon/build.gradle +++ b/compilerCommon/build.gradle @@ -19,9 +19,6 @@ apply plugin: 'com.android.databinding.bintray' sourceCompatibility = config.javaTargetCompatibility targetCompatibility = config.javaSourceCompatibility -repositories { - mavenCentral() -} sourceSets { main { @@ -40,7 +37,7 @@ sourceSets { } dependencies { - testCompile group: 'junit', name: 'junit', version: '4.11' + testCompile group: 'junit', name: 'junit', version: '4.12' compile project(':baseLibrary') compile 'org.apache.commons:commons-lang3:3.3.2' compile 'com.tunnelvisionlabs:antlr4:4.5' |