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:
parent
5e12e028bd
commit
c3c3b0863a
3 changed files with 3 additions and 3 deletions
|
@ -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"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue