When trying to add a new device as an optional parameter, the device object is not found on the classpath com.osacky.flank.gradle.Device. I'm using the following fladle block:
apply plugin: "com.osacky.fladle"
import com.osacky.flank.gradle.Device
fladle {
// Required parameters
serviceAccountCredentials("${project.file("path-to-key-file.json")}")
// Optional parameters
useOrchestrator = true
environmentVariables = ["annotation": "some-annotation"]
directoriesToPull = [
"/sdcard/screenshots"
]
filesToDownload = [
".*/screenshots/.*"
]
timeoutMin = 15
recordVideo = true
performanceMetrics = false
devices = [
new Device("Pixel2", 28, null, null),
]
flankVersion("v4.3.1")
debugApk("$buildDir/outputs/apk/debug/app-debug.apk")
instrumentationApk("$buildDir/outputs/apk/androidTest/debug/app-debug-androidTest.apk" )
autoGoogleLogin = true
testShards = 15
}
I'm using Gradle 5.2.1 and Gradle Plugin 3.3.0.
When trying to add a new device as an optional parameter, the device object is not found on the classpath com.osacky.flank.gradle.Device. I'm using the following fladle block:
apply plugin: "com.osacky.fladle"
import com.osacky.flank.gradle.Device
fladle {
// Required parameters
serviceAccountCredentials("${project.file("path-to-key-file.json")}")
}
I'm using Gradle 5.2.1 and Gradle Plugin 3.3.0.