summaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle23
1 files changed, 16 insertions, 7 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 9df79ba..cb80b6c 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -9,6 +9,7 @@ buildscript {
classpath 'me.tatarka:gradle-retrolambda:2.5.0'
}
}
+
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
apply plugin: 'me.tatarka.retrolambda'
@@ -18,13 +19,12 @@ repositories {
}
android {
- compileSdkVersion 18
+ compileSdkVersion 19
buildToolsVersion "19.1.0"
-
defaultConfig {
- applicationId "io.trygvis.soilmoisture"
- minSdkVersion 18
- targetSdkVersion 18
+ applicationId 'io.trygvis.soilmoisture'
+ minSdkVersion 19
+ targetSdkVersion 19
versionCode 1
versionName "1.0"
}
@@ -34,11 +34,20 @@ android {
// proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
-
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
+ lintOptions {
+ abortOnError false
+ }
+ productFlavors {
+ level18 {
+ minSdkVersion 18
+ applicationId 'io.trygvis.soilmoisture'
+ targetSdkVersion 18
+ }
+ }
}
dependencies {
@@ -48,5 +57,5 @@ dependencies {
}
compile 'org.sqldroid:sqldroid:1.0.3'
compile 'org.flywaydb:flyway-core:3.1'
-// compile 'net.sourceforge.streamsupport:streamsupport:1.1.2'
+ // compile 'net.sourceforge.streamsupport:streamsupport:1.1.2'
}