Skip to content

Commit

Permalink
fix: Trim whitespace from localVersion Gradle property
Browse files Browse the repository at this point in the history
  • Loading branch information
DevDavido authored Nov 30, 2023
2 parents 6b01a0b + 2dd5f4d commit f0d10f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ open class VersionExtension @Inject constructor(project: Project,

val localVersion: Provider<String> = providerFactory.gradleProperty("localVersion")

versionService.localOnly = localVersion.getOrElse("false").lowercase(Locale.getDefault()) == "true"
versionService.localOnly = localVersion.getOrElse("false").lowercase(Locale.getDefault()).trim() == "true"

versionService.isMergeBuild =
getValueFor("MERGE_BUILD", "mergeBuild", "false")
Expand Down

0 comments on commit f0d10f8

Please sign in to comment.