Skip to content

Support android experimental plugin #2539

@beeender

Description

@beeender

Question from SO: http://stackoverflow.com/questions/36341822/run-realm-with-android-experimental-plugin

What could be fixed in our side:
in 'gradle-plugin/Realm.groovy` check through the plugin name instead of the class.

def isAndroidApp = project.plugins.hasPlugin("com.android.application") ||
                project.plugins.hasPlugin("com.android.model.application") // Android experimental plugin
def isAndroidLib = project.plugins.hasPlugin("com.android.library") ||
                project.plugins.hasPlugin("com.android.model.library") // Android experimental plugin

However, it will still fail because of the AndroidAptPlugin doesn't support Android experimental plugin yet, see issue https://bitbucket.org/hvisser/android-apt/issues/46/support-for-experimental-plugin

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions