Haven is for people who need a way to protect their personal spaces and possessions without compromising their own privacy, through an Android app and on-device sensors
fix bug in gradle
n8fr8e9c4f2133bed
diff --git a/build.gradle b/build.gradleindex 77b43a3..84b7a8a 100644--- a/build.gradle+++ b/build.gradle@@ -10,6 +10,20 @@ buildscript {}+++/* gets the version name from the latest Git tag, stripping the leading v off */+def getVersionName = { ->+ def stdout = new ByteArrayOutputStream()+ exec {+ commandLine 'git', 'describe', '--tags', '--always', '--abbrev=0'+ standardOutput = stdout+ }+ return stdout.toString().trim()+}+++apply plugin: 'com.android.application'repositories {@@ -22,7 +36,7 @@ repositories {allprojects {project.ext {// these are common variables used in */build.gradle- version_number="0.0.18"+ version_number=getVersionName()group_info="haven"signal_version="2.3.0"buildToolsVersion="26.0.2"@@ -112,15 +126,4 @@ dependencies {transitive = true}-}--/* gets the version name from the latest Git tag, stripping the leading v off */-def getVersionName = { ->- def stdout = new ByteArrayOutputStream()- exec {- commandLine 'git', 'describe', '--tags', '--always', '--abbrev=0'- standardOutput = stdout- }- return stdout.toString().trim()-}-+}\ No newline at end of file