Skip to content

Commit

Permalink
Reverse conditional checker (#729)
Browse files Browse the repository at this point in the history
  • Loading branch information
argzdev authored Jan 31, 2025
1 parent ced86f2 commit 1867fe4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Upcoming
* Android Resolver - Reverse conditional checker for `packaging` keyword in maintemplate based on android gradle plugin version. Fixes #715

# Version 1.2.184 - Jan 28, 2025
* Android Resolver - Update and resolve `packaging` keyword in maintemplate
based on android gradle plugin version.
Expand Down
2 changes: 1 addition & 1 deletion source/AndroidResolver/src/PlayServicesResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2354,7 +2354,7 @@ internal static IList<string> PackagingOptionsLines(ICollection<Dependency> depe
lines.Add("android {");

// `packagingOptions` is replaced by `packaging` keyword in Android Gradle plugin 8.0+
if ((new Dependency.VersionComparer()).Compare("8.0", AndroidGradlePluginVersion) <= 0) {
if ((new Dependency.VersionComparer()).Compare("8.0", AndroidGradlePluginVersion) >= 0) {
lines.Add(" packaging {");
} else {
lines.Add(" packagingOptions {");
Expand Down

0 comments on commit 1867fe4

Please sign in to comment.