Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/root' into root
Browse files Browse the repository at this point in the history
  • Loading branch information
weblate committed Oct 5, 2023
2 parents 1a1ca2e + 77dcaa8 commit 38c9f9a
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions plugins/plugin-load-test/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,13 @@ val copyTestJars = tasks.register<Copy>("copyTestJars") {
val root = rootProject.rootDir
val pluginDir = root.resolve("plugins/plugin-load-test/tmp/plugins")

val testOneJar = root.resolve("plugins/test-plugin-1/build/libs")
.listFiles()
?.first {
val testOneJar = project(":plugins:test-plugin-1").tasks.jar.get().outputs.files
.first {
it.name.matches(matchRegex)
}

val testTwoJar = root.resolve("plugins/test-plugin-2/build/libs")
.listFiles()
?.first {
val testTwoJar = project(":plugins:test-plugin-2").tasks.jar.get().outputs.files
.first {
it.name.matches(matchRegex)
}

Expand Down

0 comments on commit 38c9f9a

Please sign in to comment.