mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-24 15:37:12 -07:00
autoUpdate setting.
This commit is contained in:
parent
0178500bf8
commit
b3efc12569
2 changed files with 15 additions and 2 deletions
|
@ -42,6 +42,9 @@ class KobaltSettingsXml {
|
|||
|
||||
@XmlElement(name = "kobaltCompilerSeparateProcess") @JvmField
|
||||
var kobaltCompilerSeparateProcess: Boolean = false
|
||||
|
||||
@XmlElement(name = "autoUpdate") @JvmField
|
||||
var autoUpdate: Boolean = false
|
||||
}
|
||||
|
||||
class ProxiesXml {
|
||||
|
@ -85,6 +88,11 @@ class KobaltSettings @Inject constructor(val xmlFile: KobaltSettingsXml) {
|
|||
*/
|
||||
val localMavenRepo = KFiles.makeDir(xmlFile.localMavenRepo)
|
||||
|
||||
/**
|
||||
* If true, Kobalt will automatically update itself if a new version is found.
|
||||
*/
|
||||
val autoUpdate = xmlFile.autoUpdate
|
||||
|
||||
/**
|
||||
* If true, the Kotlin compiler will always be launched in a separate JVM, even if the requested
|
||||
* version is the same as the internal version.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue