Skip to content

Commit

Permalink
test projet fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Salomon BRYS committed Sep 16, 2022
1 parent 9d443b4 commit 9e5ac7d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Tue May 24 12:07:09 CEST 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
2 changes: 1 addition & 1 deletion tests-projects/tests-Android/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pluginManagement {
resolutionStrategy.eachPlugin {
if (target.id.id == "org.kodein.mock.mockmp") {
val rx = Regex("version = \"(.+)\"")
val match = file("$rootDir/../build.gradle.kts").useLines { lines ->
val match = file("$rootDir/../../build.gradle.kts").useLines { lines ->
lines.mapNotNull { rx.matchEntire(it.trim()) }.firstOrNull()
} ?: error("Could not find parent project version")
val mockmpVersion = match.groupValues[1]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Tue May 24 12:07:09 CEST 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
2 changes: 1 addition & 1 deletion tests-projects/tests-Jvm/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pluginManagement {
resolutionStrategy.eachPlugin {
if (target.id.id == "org.kodein.mock.mockmp") {
val rx = Regex("version = \"(.+)\"")
val match = file("$rootDir/../build.gradle.kts").useLines { lines ->
val match = file("$rootDir/../../build.gradle.kts").useLines { lines ->
lines.mapNotNull { rx.matchEntire(it.trim()) }.firstOrNull()
} ?: error("Could not find parent project version")
val mockmpVersion = match.groupValues[1]
Expand Down

0 comments on commit 9e5ac7d

Please sign in to comment.