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

Warnings.

This commit is contained in:
Cedric Beust 2015-11-06 19:50:38 -08:00
parent d842e5aa74
commit 6094528f32
5 changed files with 13 additions and 24 deletions

View file

@ -221,7 +221,6 @@ class PackagingPlugin @Inject constructor(val dependencyManager : DependencyMana
includedFiles: List<IncludedFile>,
expandJarFiles : Boolean = false,
outputStreamFactory: (OutputStream) -> ZipOutputStream = DEFAULT_STREAM_FACTORY) : File {
val buildDir = KFiles.makeDir(project.directory, project.buildDirectory!!)
val fullArchiveName = archiveName ?: arrayListOf(project.name!!, project.version!!).joinToString("-") + suffix
val archiveDir = libsDir(project)
val result = File(archiveDir.path, fullArchiveName)