ext { | |
buildToolsVersion = System.env.CUSTOM_BUILDTOOLS != null ? System.env.CUSTOM_BUILDTOOLS : '20.0.0' | |
} | |
buildscript { | |
def gradleVersion = System.env.CUSTOM_GRADLE != null ? System.env.CUSTOM_GRADLE : '1.1.0' | |
repositories { | |
if (System.env.CUSTOM_REPO != null) { | |
maven { url System.env.CUSTOM_REPO } | |
} else { | |
mavenCentral() | |
} | |
} | |
dependencies { | |
classpath "com.android.tools.build:gradle:$gradleVersion" | |
} | |
} | |
allprojects { | |
version = '1.0' | |
repositories { | |
mavenCentral() | |
} | |
} | |
apply plugin: 'android-reporting' |