Skip to content

Commit 756ab5a

Browse files
committed
added a link to Kase source per #836 (comment)
1 parent 021d66e commit 756ab5a

File tree

1 file changed

+2
-0
lines changed
  • build-logic/conventions/src/main/kotlin/com/squareup/anvil/conventions

1 file changed

+2
-0
lines changed

build-logic/conventions/src/main/kotlin/com/squareup/anvil/conventions/BasePlugin.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ abstract class BasePlugin : Plugin<Project> {
140140

141141
// Set the kase working directory ('<build directory>/kase') as a System property,
142142
// so that it's in the right place for projects with relocated directories.
143+
// https://github.com/rickbusarow/kase/blob/255db67f40d5ec83e31755bc9ce81b1a2b08cf11/kase/src/main/kotlin/com/rickbusarow/kase/files/HasWorkingDir.kt#L93-L96
143144
target.tasks.withType(Test::class.java).configureEach { task ->
145+
144146
task.systemProperty("kase.baseWorkingDir", target.buildDir().resolve("kase"))
145147
}
146148
}

0 commit comments

Comments
 (0)