Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

Commit

Permalink
Fix build script (now) invalid usage of Action<T> lambda parameters
Browse files Browse the repository at this point in the history
See #155
  • Loading branch information
bamboo committed Jan 19, 2017
1 parent 82b628d commit b55d5a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ val benchmark by task<integration.Benchmark> {
//
// check-hello-kotlin
//
tasks.addRule("Pattern: check-<SAMPLE>") { taskName ->
tasks.addRule("Pattern: check-<SAMPLE>") {
val taskName = this
if (taskName.startsWith("check-")) {
val checkSample = task<integration.CheckSample>("$taskName-task") {
dependsOn(customInstallation)
Expand Down

0 comments on commit b55d5a9

Please sign in to comment.