Hi Team i am trying to create github workflow for ...
# gradle
a
Hi Team i am trying to create github workflow for generating baseline and then commiting it Have followed steps mentioned in https://levelup.gitconnected.com/baseline-profiles-github-actions-ce8bc6858bb3 But i am getting below issue and any help would be appreciated
Copy code
Cannot change resolution strategy of dependency configuration ':benchmark:_internal-unified-test-platform-android-device-provider-ddmlib' after task dependencies have been resolved
v
How is that question Kotlin-related?
a
So i am using build.gradle.kts file so i thought if that can be addressed
Actually error is due to below code base
Copy code
testOptions {
        managedDevices {
            devices {
                pixel2Api31(ManagedVirtualDevice) {
                    device = "Pixel 2"
                    apiLevel = 31
                    systemImageSource = "aosp"
                }
            }
        }
    }
v
This channel is about using Kotlin in the build scripts, or also about using the Kotlin Gradle Plugin I guess. I'm not into Android development, but your question very much sounds more like neither of those topics. The error means you or some plugin you use tries to modify a configuration that have already been resolved. For any more help you would probably need to provide more information / an MCVE at a more appropriate place for the question. ;-)
☝️ 1