1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

In the correct module.

This commit is contained in:
Cedric Beust 2017-03-26 18:43:49 -07:00
parent a578b70c8b
commit 096b2c20a4

View file

@ -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 }, {