Skip to content
This repository was archived by the owner on Oct 31, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -529,10 +529,10 @@ class GradleProjectPlugin implements Plugin<Project> {
if (maxSupportVersion)
maxSupportVersion
else
LAST_MAJOR_ANDROID_SUPPORT_VERSION
LAST_MAJOR_ANDROID_SUPPORT_VERSION + ".+"
}
else
LAST_MAJOR_ANDROID_SUPPORT_VERSION
LAST_MAJOR_ANDROID_SUPPORT_VERSION + ".+"
}

static void overrideVersion(DependencyResolveDetails details, String groupVersionOverride) {
Expand Down Expand Up @@ -1037,4 +1037,4 @@ class GradleProjectPlugin implements Plugin<Project> {

compareVersions(current.lowerBound, checkVersion.selector) < 0
}
}
}
7 changes: 6 additions & 1 deletion src/test/groovy/com/onesignal/androidsdk/MainTest.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ class MainTest extends Specification {
// 1.Ensure one or more results exist
assert results

// 2. Run test specific asserts
// 2. Ensure we don't have any failures
results.each {
assert !it.value.contains('FAILED')
}

// 3. Run test specific asserts
results.each {
closure(it)
}
Expand Down