Quick Start
Using Fladle takes 3 steps:
-
Apply the Fladle plugin. Follow instructions here
Root
build.gradlebuildscript { dependencies { classpath "com.osacky.flank.gradle:fladle:0.19.0" } }buildscript { dependencies { classpath("com.osacky.flank.gradle:fladle:0.19.0") } }Application module
build.gradleapply plugin: "com.android.application" apply plugin: "com.osacky.fladle"plugins { id ("com.android.application") id ("com.osacky.fladle") } -
Configure Authentication using these steps.
Warning
If using buildFlavors or testing against a non default variant, variant must also configured
-
Run your tests!
First assemble your debug apk and test apk.
./gradlew :app:assembleDebug :app:assembleDebugAndroidTestNote
When using flavors, make sure to assemble your buildVariants.
./gradlew :app:assembleFreeDebug :app:assembleFreeDebugAndroidTestRun Flank!
./gradlew runFlank