We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 228fbb1 commit 70dff98Copy full SHA for 70dff98
core/src/main/kotlin/io/github/rothes/esu/core/util/artifact/MavenResolver.kt
@@ -191,6 +191,12 @@ object MavenResolver {
191
}
192
193
private fun saveRepoConfiguration(gson: Gson, file: Path, repo: MavenRepo) {
194
+ if (!file.exists()) {
195
+ // no-stdlib
196
+ val f = file.toFile()
197
+ f.parentFile.mkdirs()
198
+ f.createNewFile()
199
+ }
200
val writer = OutputStreamWriter(Files.newOutputStream(file), Charset.forName("UTF-8"))
201
try {
202
writer.append(buildString {
0 commit comments