Nagram/TMessagesProj/build.gradle

89 lines
1.9 KiB
Groovy
Raw Normal View History

2013-10-25 15:19:00 +00:00
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.9.+'
2013-10-25 15:19:00 +00:00
}
}
apply plugin: 'android'
repositories {
mavenCentral()
}
2013-12-20 19:25:49 +00:00
tasks.withType(JavaCompile) {
2013-10-25 15:19:00 +00:00
options.encoding = "UTF-8"
}
dependencies {
2013-11-04 12:31:01 +00:00
compile 'com.android.support:support-v4:19.0.+'
2013-12-20 19:25:49 +00:00
compile 'com.android.support:appcompat-v7:19.0.+'
compile 'com.google.android.gms:play-services:4.1.+'
compile 'net.hockeyapp.android:HockeySDK:3.0.1'
2013-10-25 15:19:00 +00:00
}
android {
2013-11-04 12:31:01 +00:00
compileSdkVersion 19
buildToolsVersion '19.0.3'
aaptOptions.useAaptPngCruncher = true
2013-12-20 19:25:49 +00:00
signingConfigs {
debug {
storeFile file("config/debug.keystore")
2013-12-20 19:25:49 +00:00
}
release {
storeFile file("config/release.keystore")
storePassword RELEASE_STORE_PASSWORD
keyAlias RELEASE_KEY_ALIAS
keyPassword RELEASE_KEY_PASSWORD
2013-12-20 19:25:49 +00:00
}
}
buildTypes {
debug {
debuggable true
jniDebugBuild false
2013-12-20 19:25:49 +00:00
signingConfig signingConfigs.debug
}
release {
debuggable false
jniDebugBuild false
signingConfig signingConfigs.release
}
foss {
debuggable false
jniDebugBuild false
signingConfig signingConfigs.release
}
}
sourceSets.main {
jniLibs.srcDir 'libs'
jni.srcDirs = [] //disable automatic ndk-build call
}
sourceSets {
debug {
manifest.srcFile 'config/debug/AndroidManifest.xml'
}
release {
manifest.srcFile 'config/release/AndroidManifest.xml'
}
foss {
manifest.srcFile 'config/foss/AndroidManifest.xml'
}
2013-12-20 19:25:49 +00:00
}
2013-10-25 15:19:00 +00:00
defaultConfig {
minSdkVersion 8
2013-11-04 12:31:01 +00:00
targetSdkVersion 19
versionCode 230
versionName "1.4.13"
2013-10-25 15:19:00 +00:00
}
}