NekoX/TMessagesProj/build.gradle

88 lines
1.8 KiB
Groovy
Raw Normal View History

2013-10-25 17:19:00 +02:00
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.11.+'
2013-10-25 17:19:00 +02:00
}
}
apply plugin: 'android'
repositories {
mavenCentral()
}
2013-12-20 20:25:49 +01:00
tasks.withType(JavaCompile) {
2013-10-25 17:19:00 +02:00
options.encoding = "UTF-8"
}
dependencies {
2013-11-04 13:31:01 +01:00
compile 'com.android.support:support-v4:19.0.+'
compile 'com.google.android.gms:play-services:4.1.+'
compile 'net.hockeyapp.android:HockeySDK:3.0.1'
2013-10-25 17:19:00 +02:00
}
android {
2013-11-04 13:31:01 +01:00
compileSdkVersion 19
buildToolsVersion '19.1.0'
aaptOptions.useAaptPngCruncher = true
2013-12-20 20:25:49 +01:00
signingConfigs {
debug {
storeFile file("config/debug.keystore")
2013-12-20 20:25:49 +01:00
}
release {
storeFile file("config/release.keystore")
storePassword RELEASE_STORE_PASSWORD
keyAlias RELEASE_KEY_ALIAS
keyPassword RELEASE_KEY_PASSWORD
2013-12-20 20:25:49 +01:00
}
}
buildTypes {
debug {
debuggable true
jniDebugBuild false
2013-12-20 20:25:49 +01: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 20:25:49 +01:00
}
2013-10-25 17:19:00 +02:00
defaultConfig {
minSdkVersion 8
2013-11-04 13:31:01 +01:00
targetSdkVersion 19
2014-06-22 23:15:10 +02:00
versionCode 268
versionName "1.5.7"
2013-10-25 17:19:00 +02:00
}
}