From bcab73158a614d75c5518e741cae7e26fb20f5b4 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Wed, 28 Oct 2015 22:21:38 -0700 Subject: [PATCH] Main.kt. --- src/main/kotlin/com/beust/kobalt/Main.kt | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/main/kotlin/com/beust/kobalt/Main.kt b/src/main/kotlin/com/beust/kobalt/Main.kt index 4339c061..1b904b01 100644 --- a/src/main/kotlin/com/beust/kobalt/Main.kt +++ b/src/main/kotlin/com/beust/kobalt/Main.kt @@ -90,14 +90,8 @@ private class Main @Inject constructor( } public fun runTest() { - val executor = executors.newExecutor("DependentTest", 5) - File(localRepo.toFullPath("org/testng/testng")).deleteRecursively() - - val dep = depFactory.create("org.testng:testng:", executor) - - val future = dep.jarFile - val file = future.get() - println("Name: " + file.name) + val dep = MavenDependency.create("com.google.inject:guice:4.0:no_aop") + println("Name: " + dep) } private fun runWithArgs(jc: JCommander, args: Args) : Int {