From 3d6f0e4efba3cb83b71bbef352a6bf96af2f7023 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Wed, 13 Jan 2016 23:25:59 +0400 Subject: [PATCH] Use ~/kobalt/settings.xml. --- .../kotlin/com/beust/kobalt/internal/KobaltSettingsXml.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/internal/KobaltSettingsXml.kt b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/internal/KobaltSettingsXml.kt index 62dfc560..ca691967 100644 --- a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/internal/KobaltSettingsXml.kt +++ b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/internal/KobaltSettingsXml.kt @@ -17,7 +17,7 @@ import javax.xml.bind.annotation.XmlRootElement @XmlRootElement(name = "kobalt-settings") class KobaltSettingsXml { @XmlElement @JvmField - var localRepo: String = homeDir(KFiles.KOBALT_DOT_DIR, "repository") + var localRepo: String = homeDir(KFiles.KOBALT_DIR, "repository") } /** @@ -31,7 +31,7 @@ class KobaltSettings @Inject constructor(val xmlFile: KobaltSettingsXml) { var localRepo = xmlFile.localRepo companion object { - val SETTINGS_FILE_PATH = homeDir(KFiles.KOBALT_DOT_DIR, "settings.xml") + val SETTINGS_FILE_PATH = homeDir(KFiles.KOBALT_DIR, "settings.xml") fun readSettingsXml() : KobaltSettings { val file = File(KobaltSettings.SETTINGS_FILE_PATH)