mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Added kobaltCompilerSeparateProcess flag.
This commit is contained in:
parent
998972f022
commit
a40b63eec4
3 changed files with 17 additions and 12 deletions
|
@ -10,7 +10,6 @@ import com.google.inject.Inject
|
|||
import com.google.inject.Singleton
|
||||
import java.io.File
|
||||
import java.io.FileInputStream
|
||||
import java.lang.NumberFormatException
|
||||
import javax.xml.bind.JAXBContext
|
||||
import javax.xml.bind.annotation.XmlElement
|
||||
import javax.xml.bind.annotation.XmlRootElement
|
||||
|
@ -40,6 +39,9 @@ class KobaltSettingsXml {
|
|||
|
||||
@XmlElement(name = "kobaltCompilerFlags") @JvmField
|
||||
var kobaltCompilerFlags: String? = null
|
||||
|
||||
@XmlElement(name = "kobaltCompilerSeparateProcess") @JvmField
|
||||
var kobaltCompilerSeparateProcess: Boolean = false
|
||||
}
|
||||
|
||||
class ProxiesXml {
|
||||
|
@ -83,6 +85,12 @@ class KobaltSettings @Inject constructor(val xmlFile: KobaltSettingsXml) {
|
|||
*/
|
||||
val localMavenRepo = KFiles.makeDir(xmlFile.localMavenRepo)
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
val kobaltCompilerSeparateProcess = xmlFile.kobaltCompilerSeparateProcess
|
||||
|
||||
val defaultRepos = xmlFile.defaultRepos?.repo
|
||||
|
||||
val proxyConfigs = with(xmlFile.proxies?.proxy) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue