gradle: warn when submodules are missing

- sth better than 'Configuration with name 'default' not found'
This commit is contained in:
Hannes Janetzek 2014-11-17 19:00:28 +01:00
parent ef391a3994
commit e6d42a5a61

View File

@ -1,3 +1,7 @@
if (!(new File("$rootDir/appcompat/build.gradle").exists())) {
throw new GradleException('Missing git sub modules!\nPLEASE RUN: "git submodule init && git submodule update"')
}
buildscript {
repositories {
mavenCentral()