We have divided our androidTests by Module, but it seems this plugin doesn't support any module without:
id("com.android.application") plugin
I think the issue is :
AppExtension appExtension = (AppExtension) project.getExtensions().getByName("android");
|
AppExtension appExtension = (AppExtension) project.getExtensions().getByName("android"); |
The error we get back when syncing is:
Caused by: org.gradle.api.plugins.InvalidPluginException: An exception occurred applying plugin request [id: 'com.browserstack.gradle']
Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin 'com.browserstack.gradle'
Caused by: java.lang.ClassCastException: com.android.build.gradle.LibraryExtension_Decorated cannot be cast to com.android.build.gradle.AppExtension
Would it be possible to add module support please, with modules using the id("com.android.library") plugin?
We have divided our androidTests by Module, but it seems this plugin doesn't support any module without:
id("com.android.application")pluginI think the issue is :
AppExtension appExtension = (AppExtension) project.getExtensions().getByName("android");browserstack-gradle-plugin/src/main/java/com/browserstack/gradle/BrowserStackPlugin.java
Line 18 in 3629f0a
The error we get back when syncing is:
Would it be possible to add module support please, with modules using the
id("com.android.library")plugin?