Giter Site home page Giter Site logo

Comments (2)

zbynek avatar zbynek commented on June 15, 2024

You can try your changes using Jitpack

buildscript {
    repositories {
        maven { url 'https://jitpack.io' }
    }
    dependencies {
        classpath "com.github.zbynek:FirebaseTestLab-Android:patch-1-SNAPSHOT"
    }
}

This fails for me with Groovy

Could not find method mainDevice() for arguments [app_common_3mq6icw2x9sq2qcpsy2elmlde$_run_closure4$_closure13$_closure14@4cd9d2a0] on extension 'firebaseTestLab' of type com.appunite.firebasetestlabplugin.FirebaseTestLabPluginExtension.

for configuration

devices {
        mainDevice {
            deviceIds = ["Pixel2"]
            androidApiLevels = [28]
            timeout = 1800
            isUseOrchestrator = true
            environmentVariables = ["clearPackageData=true"]
        }
    }

from firebasetestlab-android.

Buggaboo avatar Buggaboo commented on June 15, 2024

Solution

val deviceName = "nexusEmulator"
firebaseTestLab {
    keyFile = File("$projectDir/my-app-key.json") // TODO HOWTO github action secret?!
    googleProjectId = if (startParameter.toLowerCase().contains("acc")) { "android-mobile-app-acc" } else { "android-mobile-app-prod" }
    createDevice(deviceName) {
        com.appunite.firebasetestlabplugin.model.Device(deviceName).also {
            deviceIds = listOf("hammerhead")
            androidApiLevels = listOf(23)
            locales = listOf("nl", "en")
        }
    }
}

from firebasetestlab-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.