mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
Merge pull request #328 from pabl0rg/master
standardize use of Directive (on methods/props)
This commit is contained in:
commit
d583eb0066
1 changed files with 5 additions and 3 deletions
|
@ -17,15 +17,17 @@ import com.google.inject.Inject
|
|||
import com.google.inject.Singleton
|
||||
import java.io.File
|
||||
|
||||
@Directive
|
||||
class ApplicationConfig {
|
||||
@Directive
|
||||
var mainClass: String? = null
|
||||
|
||||
val jvmArgs = arrayListOf<String>()
|
||||
@Directive
|
||||
fun jvmArgs(vararg args: String) = args.forEach { jvmArgs.add(it) }
|
||||
val jvmArgs = arrayListOf<String>()
|
||||
|
||||
val args = arrayListOf<String>()
|
||||
@Directive
|
||||
fun args(vararg argv: String) = argv.forEach { args.add(it) }
|
||||
val args = arrayListOf<String>()
|
||||
}
|
||||
|
||||
@Directive
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue