File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
testkit/gradle-testkit-plugin/src/main/kotlin/com/autonomousapps Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -225,12 +225,10 @@ public abstract class GradleTestKitSupportExtension(private val project: Project
225225 return configurations.findByName(classpath)?.allDependencies
226226 ?.filterIsInstance<ProjectDependency >()
227227 // filter out self-dependency
228- ?.filterNot { projectPath(it) == project.path }
229- ?.map { " ${projectPath(it) } :$taskName " }
228+ ?.filterNot { it.path == project.path }
229+ ?.map { " ${it.path } :$taskName " }
230230 }
231231
232- private fun projectPath (projectDependency : ProjectDependency ): String = projectDependency.path
233-
234232 /* *
235233 * Adds a dependency on `com.autonomousapps:gradle-testkit-support` with version [DEFAULT_SUPPORT_VERSION] unless
236234 * otherwise specified.
You can’t perform that action at this time.
0 commit comments