Skip to content

Cannot set sentryGradleVersion #29

@LauriMauranen

Description

@LauriMauranen

Hello!

I wanna set sentryGradleVersion to latest.

My App_Resources/platforms/Android/before-plugins.gradle:

project.ext { sentryGradleVersion = '5.9.0' }

But when I build the app, sentry-plugin sets version to 4.3.0, the default value.

In plugin's file sentry/platforms/android/buildscript.gradle there is a line:

def sentryGradleVersion = hasProperty("sentryGradleVersion") ? sentryGradleVersion : "4.3.0"

Should hasProperty be project.hasProperty and sentryGradleVersion project.sentryGradleVersion, like in include.graddle?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions