Skip to content

Instantly share code, notes, and snippets.

@edBaev
Created November 25, 2014 13:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edBaev/f1f586d2ac7354714c90 to your computer and use it in GitHub Desktop.
Save edBaev/f1f586d2ac7354714c90 to your computer and use it in GitHub Desktop.
apply plugin: 'com.android.application'
apply plugin: 'crashlytics'
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 80
versionName "1.2.7.7"
}
signingConfigs {
debug {
storeFile file("../keys/debug.keystore")
}
releaseConfig {
storeFile file("../keys/keys.keystore")
storePassword "Hjfdkw82McsWw"
keyAlias "benaughty"
keyPassword "cJkds92l"
}
}
buildTypes {
release {
signingConfig signingConfigs.releaseConfig
debuggable false
}
}
productFlavors {
homemoney {
}
}
lintOptions {
checkReleaseBuilds false
abortOnError false
}
packagingOptions {
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/LICENSE.txt'
}
// Settings
compileOptions {
encoding = "UTF-8"
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
// applicationVariants.all { variant ->
// variant.outputs.each { output ->
// if (variant.buildType.name.equals("release")) {
// def flavor = variant.mergedFlavor;
// def flavorName = variant.name.replace("Release", "");
// def name = flavorName + "-" + flavor.versionName + "-b" + flavor.versionCode + ".apk";
// variant.outputFile = new File(variant.outputFile.parent, name);
// }
// }
// }
}
repositories {
maven { url 'http://download.crashlytics.com/maven' }
}
dependencies {
compile 'com.android.support:support-v4:20.+'
compile 'com.android.support:appcompat-v7:20.+'
compile 'com.crashlytics.android:crashlytics:1.+'
compile 'com.google.code.gson:gson:2.2.4'
compile 'com.intellij:annotations:12.0'
compile 'de.congrace:exp4j:0.3.11'
compile 'com.jakewharton:butterknife:5.1.0'
compile 'com.octo.android.robospice:robospice-retrofit:1.4.12'
compile 'com.squareup.okhttp:okhttp:1.3.0'
compile 'com.squareup:otto:1.3.5'
compile fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment