nativescript-community / nativescript-community/sentry
Cannot set sentryGradleVersion
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 18
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with sentry/platforms/android/buildscript.gradle and compare its sentryGradleVersion lookup with include.graddle. Check how App_Resources/platforms/Android/before-plugins.gradle exposes the property during the build. Done means the configured 5.9.0 value is used instead of the default 4.3.0.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, groovy
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100