Nagram/TMessagesProj/build.gradle

87 lines
1.8 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.14.0'
2013-10-25 15:19:00 +00:00
}
}
apply plugin: 'com.android.application'
2013-10-25 15:19:00 +00:00
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 {
2014-11-17 02:44:57 +00:00
compile 'com.android.support:support-v4:21.0.+'
2014-08-08 10:17:06 +00:00
compile 'com.google.android.gms:play-services:3.2.+'
2014-10-11 11:30:32 +00:00
compile 'net.hockeyapp.android:HockeySDK:3.0.2'
2014-07-11 13:54:17 +00:00
compile 'com.googlecode.mp4parser:isoparser:1.0.+'
2013-10-25 15:19:00 +00:00
}
android {
compileSdkVersion 21
2014-11-07 10:23:17 +00:00
buildToolsVersion '21.1.1'
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
2014-11-10 11:05:22 +00:00
jniDebuggable true
2013-12-20 19:25:49 +00:00
signingConfig signingConfigs.debug
}
release {
debuggable false
2014-11-10 11:05:22 +00:00
jniDebuggable false
2013-12-20 19:25:49 +00:00
signingConfig signingConfigs.release
}
foss {
debuggable false
2014-11-10 11:05:22 +00:00
jniDebuggable 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
targetSdkVersion 21
2014-11-14 15:40:15 +00:00
versionCode 382
2014-11-10 11:05:22 +00:00
versionName "2.0.0"
2013-10-25 15:19:00 +00:00
}
}