Skip to content

Commit

Permalink
Update gradle-conventions to v0.0.81 (#28)
Browse files Browse the repository at this point in the history
* Update gradle-conventions to v0.0.81

* Fix detekt violations

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Eliezer Graber <[email protected]>
  • Loading branch information
renovate[bot] and eygraber authored Nov 28, 2024
1 parent 12ccdcf commit 898a834
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ internal fun Context.openAppSettings(permission: String?) {
*/
private fun Context.findActivity(): Activity {
var context = this
while (context is ContextWrapper) {
while(context is ContextWrapper) {
if (context is Activity) return context
context = context.baseContext
}
throw IllegalStateException("Permissions should be called in the context of an Activity")
error("Permissions should be called in the context of an Activity")
}
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ android-sdk-target = "35"

compose = "1.7.5"

conventions = "0.0.79"
conventions = "0.0.81"

detekt = "1.23.7"
detektEygraber = "1.0.11"
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ dependencyResolutionManagement {
}

plugins {
id("com.eygraber.conventions.settings") version "0.0.79"
id("com.eygraber.conventions.settings") version "0.0.81"
id("com.gradle.develocity") version "3.18.2"
}

Expand Down

0 comments on commit 898a834

Please sign in to comment.