mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
Main.kt.
This commit is contained in:
parent
54f9dde73d
commit
bcab73158a
1 changed files with 2 additions and 8 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue