1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 00:17:11 -07:00

Kotlin 1.1.2.

This commit is contained in:
Cedric Beust 2017-04-25 10:59:40 -07:00
parent 5e12e028bd
commit c3c3b0863a
3 changed files with 3 additions and 3 deletions

View file

@ -119,7 +119,7 @@ class BuildFiles @Inject constructor(val factory: BuildFileCompiler.IFactory,
parentFile.mkdirs()
val imp = arrayListOf<String>().apply {
addAll(imports)
}.distinct()
}.toMutableSet().toMutableList()
Collections.sort(imp)
writeText(imp.joinToString("\n"))
appendText(code.joinToString("\n"))