diff --git a/app/build.gradle b/app/build.gradle index 8fa6a59..a4cbee1 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -4,6 +4,7 @@ apply plugin: 'kotlin-android' apply plugin: 'kotlin-kapt' apply plugin: 'jacoco' apply plugin: 'com.google.firebase.crashlytics' +apply plugin: "com.osacky.fladle" def keystoreProperties = new Properties() try { @@ -163,3 +164,16 @@ task jacocoTestReport(type: JacocoReport, dependsOn: ['testDebugUnitTest']) { 'outputs/code-coverage/connected/*coverage.ec' ])) } + +fladle { + variant = 'playDebug' + useOrchestrator = true + environmentVariables = [ + "clearPackageData": "true" + ] + testTimeout = "7m" + devices = [ + [ "model": "NexusLowRes", "version": "30" ] + ] + projectId = 'simplemarkdown' +} diff --git a/build.gradle b/build.gradle index 1695d7f..75c6ad4 100644 --- a/build.gradle +++ b/build.gradle @@ -12,6 +12,7 @@ buildscript { classpath 'com.google.gms:google-services:4.3.5' classpath 'com.google.firebase:firebase-crashlytics-gradle:2.5.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" + classpath "com.osacky.flank.gradle:fladle:0.14.1" } }