aboutsummaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-01-11 12:28:55 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2015-01-11 12:28:55 +0100
commit17a1f7227c8c3872fce7bbcc2f5cd46540f9ac52 (patch)
tree20c2c99e710fd1db438a49029177552204a63591 /app/build.gradle
parent4a2ca2d94c827566f8682e8dbd6fbdf17d70b4dd (diff)
downloadio.trygvis.soilmoisture-android-17a1f7227c8c3872fce7bbcc2f5cd46540f9ac52.tar.gz
io.trygvis.soilmoisture-android-17a1f7227c8c3872fce7bbcc2f5cd46540f9ac52.tar.bz2
io.trygvis.soilmoisture-android-17a1f7227c8c3872fce7bbcc2f5cd46540f9ac52.tar.xz
io.trygvis.soilmoisture-android-17a1f7227c8c3872fce7bbcc2f5cd46540f9ac52.zip
o Reading values from the soil sensor.
o Rewrote the database schema to match the new device+sensors model. o Storing samples in the database. o To be able to reuse BT callbacks, added a way to always to directly to the next step instead of waiting for an event.
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'
}