plus-messenger/TMessagesProj/build.gradle

89 lines
1.9 KiB
Groovy
Raw Normal View History

2013-10-25 11:19:00 -04:00
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.10.+'
2013-10-25 11:19:00 -04:00
}
}
apply plugin: 'android'
repositories {
mavenCentral()
}
2013-12-20 14:25:49 -05:00
tasks.withType(JavaCompile) {
2013-10-25 11:19:00 -04:00
options.encoding = "UTF-8"
}
dependencies {
2013-11-04 07:31:01 -05:00
compile 'com.android.support:support-v4:19.0.+'
2013-12-20 14:25:49 -05: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 11:19:00 -04:00
}
android {
2013-11-04 07:31:01 -05:00
compileSdkVersion 19
buildToolsVersion '19.1.0'
aaptOptions.useAaptPngCruncher = true
2013-12-20 14:25:49 -05:00
signingConfigs {
debug {
storeFile file("config/debug.keystore")
2013-12-20 14:25:49 -05:00
}
release {
storeFile file("config/release.keystore")
storePassword RELEASE_STORE_PASSWORD
keyAlias RELEASE_KEY_ALIAS
keyPassword RELEASE_KEY_PASSWORD
2013-12-20 14:25:49 -05:00
}
}
buildTypes {
debug {
debuggable true
jniDebugBuild false
2013-12-20 14:25:49 -05: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 14:25:49 -05:00
}
2013-10-25 11:19:00 -04:00
defaultConfig {
minSdkVersion 8
2013-11-04 07:31:01 -05:00
targetSdkVersion 19
versionCode 240
versionName "1.4.15"
2013-10-25 11:19:00 -04:00
}
}