Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazzo authored and github-actions[bot] committed Jul 9, 2024
1 parent dd9072b commit 62a7ce0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class BuildConfigPluginTest {
""" else "") + """
""" + (if (kotlinVersion != null) """
assert "$kotlinVersion" == org.jetbrains.kotlin.gradle.plugin.KotlinPluginWrapperKt.getKotlinPluginVersion(project).replaceFirst(/\.\d+$/, '.+')
assert "$kotlinVersion" == org.jetbrains.kotlin.gradle.plugin.KotlinPluginWrapperKt.getKotlinPluginVersion(project).replaceFirst(/\.\d+(-\w+)?$/, '.+')
""" else "") + """
repositories {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ class BuildConfigTaskCacheabilityTest {
mavenCentral()
}
}
buildCache.local.directory = file("${'$'}settingsDir/.gradle/build-cache")
""".trimIndent())

buildScript.writeText(
Expand Down

0 comments on commit 62a7ce0

Please sign in to comment.