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

Jersey server.

This commit is contained in:
Cedric Beust 2016-04-27 23:10:54 -08:00
parent 4424db7e0c
commit f79d9f9497
9 changed files with 254 additions and 193 deletions

View file

@ -48,10 +48,6 @@ class Args {
@Parameter(names = arrayOf("--noIncremental"), description = "Turn off incremental builds")
var noIncremental: Boolean = false
companion object {
const val DEFAULT_SERVER_PORT = 1234
}
@Parameter(names = arrayOf("--plugins"), description = "Comma-separated list of plug-in Maven id's")
var pluginIds: String? = null
@ -59,7 +55,7 @@ class Args {
var pluginJarFiles: String? = null
@Parameter(names = arrayOf("--port"), description = "Port, if --server was specified")
var port: Int = DEFAULT_SERVER_PORT
var port: Int? = null
@Parameter(names = arrayOf("--profiles"), description = "Comma-separated list of profiles to run")
var profiles: String? = null

View file

@ -10,12 +10,12 @@ object Constants {
internal val DEFAULT_REPOS = listOf<String>(
// "https://maven-central.storage.googleapis.com/",
"http://repo1.maven.org/maven2/",
"https://jcenter.bintray.com/"
"https://jcenter.bintray.com/",
"http://repository.jetbrains.com/all/"
// snapshots
// "https://oss.sonatype.org/content/repositories/snapshots/"
// , "https://repository.jboss.org/nexus/content/repositories/root_repository/"
// , "http://repository.jetbrains.com/all/"
)
}