gradle: Avoid catch-22 where you can't change the config when it starts out at release (sync needs to pass)

This commit is contained in:
Henrik Rydgard 2017-03-25 09:38:05 +01:00
parent f011ac39bf
commit 6a88d6c5a4

View file

@ -20,7 +20,7 @@ android {
} else {
release {
// Can't build release builds without a key store.
throw new GradleException('This build type should only be invoked from CI. Use Optimized builds instead.')
println 'This build type should only be invoked from CI. Use Optimized builds instead.'
}
}
}