mirror of
https://github.com/moparisthebest/open-keychain
synced 2025-02-17 07:30:14 -05:00
Check gradle version before building
This commit is contained in:
parent
8a9c5b33c5
commit
001458f4af
@ -1,10 +1,15 @@
|
||||
|
||||
if (gradle.gradleVersion < "1.6") {
|
||||
throw new GradleException('You need gradle version >= 1.6')
|
||||
}
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:0.4'
|
||||
classpath 'com.android.tools.build:gradle:0.4.1'
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user