From ef6fd3f2a2016a2386a64fbdc6a9cddb0379642f Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Sat, 7 Nov 2015 15:04:15 -0800 Subject: [PATCH] Not needed. --- src/main/kotlin/com/beust/kobalt/kotlin/BuildFileCompiler.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/com/beust/kobalt/kotlin/BuildFileCompiler.kt b/src/main/kotlin/com/beust/kobalt/kotlin/BuildFileCompiler.kt index 8f8f015d..975952a7 100644 --- a/src/main/kotlin/com/beust/kobalt/kotlin/BuildFileCompiler.kt +++ b/src/main/kotlin/com/beust/kobalt/kotlin/BuildFileCompiler.kt @@ -155,7 +155,7 @@ public class BuildFileCompiler @Inject constructor(@Assisted("buildFiles") val b }.compile(context = context) } - class BuildScriptInfo(val projects: List, val classLoader: ClassLoader) + class BuildScriptInfo(val projects: List) private fun parseBuildScriptJarFile(buildScriptJarFile: File, urls: List) : BuildScriptInfo { val projects = arrayListOf() @@ -233,7 +233,7 @@ public class BuildFileCompiler @Inject constructor(@Assisted("buildFiles") val b } } } - val result = BuildScriptInfo(topologicalProjects.sort(ArrayList(all)), classLoader) + val result = BuildScriptInfo(topologicalProjects.sort(ArrayList(all))) // Notify possible listeners (e.g. KobaltServer) we now have all the projects observable.onNext(result)