Skip to content

Commit

Permalink
Merge pull request #117 from undroid-dew/patch-1
Browse files Browse the repository at this point in the history
Fix passing of formatted string vararg
  • Loading branch information
Vacxe authored Feb 6, 2024
2 parents 92fad75 + 4090497 commit 99cd7c1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions buildSrc/src/main/kotlin/convention.library.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,3 @@ plugins {
id("convention.android-base")
id("convention.kotlin")
}

android {
packaging.resources.excludes.add("META-INF/*")
}
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/convention.publishing.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ configure<PublishingExtension> {
pom {
name.set(project.name)
url.set("https://github.com/KakaoCup/Kakao")
description.set(project.description)
description.set(project.description ?: "Nice and simple DSL for Espresso in Kotlin")

licenses {
license {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ fun getResourceString(@StringRes resId: Int) =
InstrumentationRegistry.getInstrumentation().targetContext.resources.getString(resId)

fun getResourceString(@StringRes resId: Int, vararg args: Any) =
InstrumentationRegistry.getInstrumentation().targetContext.resources.getString(resId, args)
InstrumentationRegistry.getInstrumentation().targetContext.resources.getString(resId, *args)

fun getQuantityString(@PluralsRes resId: Int, quantity: Int) =
InstrumentationRegistry.getInstrumentation().targetContext.resources.getQuantityString(resId, quantity)
Expand Down
2 changes: 1 addition & 1 deletion kakao/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.5.0
3.5.1

0 comments on commit 99cd7c1

Please sign in to comment.