aboutsummaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-01-03 23:50:46 -0500
committerAllan Wang <me@allanwang.ca>2019-01-03 23:50:46 -0500
commita8c734070c67d84e10f617602467339f113521b4 (patch)
treec13e344a33e45959e98609aa682231e102bfbadd /app/build.gradle
parent82f79a7d368caad4068d97051ad8deddd05b4f7e (diff)
downloadfrost-a8c734070c67d84e10f617602467339f113521b4.tar.gz
frost-a8c734070c67d84e10f617602467339f113521b4.tar.bz2
frost-a8c734070c67d84e10f617602467339f113521b4.zip
Add custom gradle function and ignore some tests
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 76e96599..562de936 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -259,6 +259,15 @@ dependencies {
}
+// Validates code and generates apk
+task createGithubReleaseApk(type: GradleBuild) {
+ tasks = ['spotlessCheck',
+ 'lintRelease',
+ 'testReleaseUnitTest',
+ 'connectedAndroidTest',
+ 'assembleRelease']
+}
+
def kotlinResolutions = ['kotlin-reflect',
'kotlin-stdlib',
'kotlin-stdlib-jdk7',