Fixed issues where there could be duplicate license files

master
nathan 2019-01-11 23:10:56 +01:00
parent 7dd9a991df
commit 72449582e5
1 changed files with 1 additions and 1 deletions

View File

@ -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<File> {
val files = mutableListOf<File>()
val files = mutableSetOf<File>()
files.add(File(outputDir, "LICENSE"))
licenses.forEach {