Skip to content

Commit

Permalink
Adjusts gradle dependency for SentryProperties file
Browse files Browse the repository at this point in the history
Fixes a slight warning about Disabling Gradle Optimizations
  • Loading branch information
hufman committed Feb 12, 2024
1 parent 7e8b9b9 commit f21b1a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/buildtools/SentryProperties.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ project.task("sentryProperties") {

project.afterEvaluate {
tasks.each {
if (it.name.startsWith("assemble")) {
it.dependsOn(tasks.getByName("sentryProperties"))
it.mustRunAfter(tasks.getByName("sentryProperties"))
if (it.name.startsWith("process")) {
it.dependsOn(tasks.named("sentryProperties"))
it.mustRunAfter(tasks.named("sentryProperties"))
}
}
}

0 comments on commit f21b1a0

Please sign in to comment.