From 72449582e5528d1b4689c564ffbed0e7afbb66a2 Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 11 Jan 2019 23:10:56 +0100 Subject: [PATCH] Fixed issues where there could be duplicate license files --- src/dorkbox/license/Licensing.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dorkbox/license/Licensing.kt b/src/dorkbox/license/Licensing.kt index b2f92b2..67902f2 100644 --- a/src/dorkbox/license/Licensing.kt +++ b/src/dorkbox/license/Licensing.kt @@ -29,7 +29,7 @@ open class Licensing(project: Project, private val outputDir: File) { * Gets a list of files, representing the on-disk location of each generated license file */ fun output() : List { - val files = mutableListOf() + val files = mutableSetOf() files.add(File(outputDir, "LICENSE")) licenses.forEach {