Skip to content

Commit

Permalink
Merge pull request #280 from usefulness/renovate/com.project.starter-…
Browse files Browse the repository at this point in the history
…jvm-0.x
  • Loading branch information
mateuszkwiecinski authored Mar 12, 2022
2 parents a39e828 + d012a88 commit 6de1c98
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repositories {

dependencies {
implementation "org.jetbrains.kotlin:kotlin-gradle-plugin"
implementation "com.project.starter:jvm:0.42.0"
implementation "com.project.starter:jvm:0.43.0"
}

tasks.withType(KotlinCompile).configureEach {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ internal fun File.transformXml(outputFile: File, minSdkVersion: Int, filters: Li
.joinToString(separator = "\n") {
"""
| <item android:drawable="@${outputFile.parentFile.normalizedName}/$it" />
|""".trimMargin()
|
""".trimMargin()
}
val versionSuffix = if (minSdkVersion >= ANDROID_OREO) "" else "-v26"
val v26DrawableRoot = drawableRoot.parentFile.resolve("${drawableRoot.normalizedName}-anydpi$versionSuffix")
Expand All @@ -64,7 +65,8 @@ internal fun File.transformXml(outputFile: File, minSdkVersion: Int, filters: Li
|
|$layers
|</layer-list>
|""".trimMargin(),
|
""".trimMargin(),
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ internal class IconTransformerTest {
| <item android:drawable="@drawable/overlayfilter_3_output" />
|
|</layer-list>
|""".trimMargin(),
|
""".trimMargin(),
)
}

Expand Down Expand Up @@ -92,7 +93,8 @@ internal class IconTransformerTest {
| <item android:drawable="@drawable/overlayfilter_3_output" />
|
|</layer-list>
|""".trimMargin(),
|
""".trimMargin(),
)
}
}

0 comments on commit 6de1c98

Please sign in to comment.