blob: ce80d50d3143fb195cb5a1b663c1eb7d48dd22e4 [file] [log] [blame]
/*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
ext.COMPILE_SDK_VERSION = 20
ext.M2_ENV_VAR_NAME = 'M2_HOME'
buildscript {
repositories {
jcenter()
mavenCentral()
maven {
url 'https://android-devtools-staging.corp.google.com/no_crawl/maven/full/'
}
if (System.getenv("MAVEN_REPO")) {
maven { url System.getenv("MAVEN_REPO") }
}
if (System.getenv("$M2_ENV_VAR_NAME")) {
maven { url System.getenv("$M2_ENV_VAR_NAME") }
}
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.0'
}
}
allprojects {
repositories {
jcenter()
}
}
subprojects {
configurations {
unitTest
}
dependencies {
unitTest 'junit:junit:4.11'
}
}