mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
In the correct module.
This commit is contained in:
parent
a578b70c8b
commit
096b2c20a4
1 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@ import com.beust.kobalt.internal.PluginInfo
|
||||||
import com.beust.kobalt.internal.TaskManager
|
import com.beust.kobalt.internal.TaskManager
|
||||||
import com.beust.kobalt.internal.build.BuildFile
|
import com.beust.kobalt.internal.build.BuildFile
|
||||||
import com.beust.kobalt.misc.KFiles
|
import com.beust.kobalt.misc.KFiles
|
||||||
|
import com.beust.kobalt.wrapper.Main
|
||||||
import com.google.inject.Inject
|
import com.google.inject.Inject
|
||||||
import java.io.File
|
import java.io.File
|
||||||
import java.nio.file.Paths
|
import java.nio.file.Paths
|
||||||
|
@ -38,7 +39,7 @@ class Options @Inject constructor(
|
||||||
projectGenerator.run(args, pluginClassLoader)
|
projectGenerator.run(args, pluginClassLoader)
|
||||||
// The wrapper has to call System.exit() in order to set the exit code,
|
// The wrapper has to call System.exit() in order to set the exit code,
|
||||||
// so make sure we call it last (or possibly launch it in a separate JVM).
|
// so make sure we call it last (or possibly launch it in a separate JVM).
|
||||||
com.beust.kobalt.wrapper.Main.main(arrayOf("--noLaunch") + argv)
|
Main.main(arrayOf("--noLaunch") + argv)
|
||||||
}),
|
}),
|
||||||
OptionalBuildOption( { -> args.usage }, { jc.usage() }),
|
OptionalBuildOption( { -> args.usage }, { jc.usage() }),
|
||||||
OptionalBuildOption( { -> args.update }, {
|
OptionalBuildOption( { -> args.update }, {
|
Loading…
Add table
Add a link
Reference in a new issue