30 lines
646 B
Groovy
Vendored
30 lines
646 B
Groovy
Vendored
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:0.5.+'
|
|
}
|
|
}
|
|
|
|
apply plugin: 'android'
|
|
|
|
android {
|
|
target = 'android-16'
|
|
defaultConfig {
|
|
packageName = 'com.example'
|
|
signingStoreLocation = 'keystore'
|
|
signingStorePassword = 'helloworld'
|
|
signingKeyAlias = 'Key'
|
|
signingKeyPassword = 'helloworld'
|
|
}
|
|
buildTypes {
|
|
release {
|
|
buildConfig "public final static boolean IS_LIVE=true;"
|
|
}
|
|
debug {
|
|
buildConfig "public final static boolean IS_LIVE=false;"
|
|
}
|
|
}
|
|
}
|