aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--build.gradle59
1 files changed, 50 insertions, 9 deletions
diff --git a/build.gradle b/build.gradle
index 8942ba1c..ab032571 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,16 +1,57 @@
// Top-level build file where you can add configuration options common to all
// sub-projects/modules.
buildscript {
- repositories {
- jcenter()
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:0.12.2'
- }
+ repositories {
+ jcenter()
+ mavenCentral()
+ }
+ dependencies {
+ classpath 'com.android.tools.build:gradle:0.12.2'
+ }
}
allprojects {
- repositories {
- jcenter()
- }
+ repositories {
+ jcenter()
+ mavenCentral()
+ }
+}
+
+apply plugin: 'android'
+
+repositories {
+ mavenCentral()
+}
+
+android {
+ compileSdkVersion 19
+ buildToolsVersion "19.1"
+
+ defaultConfig {
+ minSdkVersion 14
+ targetSdkVersion 19
+ versionCode 32
+ versionName "0.8-alpha"
+ }
+
+ compileOptions {
+ sourceCompatibility JavaVersion.VERSION_1_7
+ targetCompatibility JavaVersion.VERSION_1_7
+ }
+ buildTypes {
+ release {
+ runProguard true
+ proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
+ }
+ debug {
+ runProguard false
+ proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
+ }
+ }
+}
+
+dependencies {
+ // ToDo: Move libs here if possible (instead of including the jars)
+ "compile 'com.android.support:support-v13:19.1.0'"
+ compile fileTree(dir: 'libs', include: ['*.jar'])
}