mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Unnecessary parameter.
This commit is contained in:
parent
34d78ec828
commit
2da9f86de8
2 changed files with 2 additions and 4 deletions
|
@ -4,7 +4,6 @@ import com.beust.kobalt.api.KobaltContext
|
|||
import com.beust.kobalt.api.Project
|
||||
import com.beust.kobalt.archive.Archives
|
||||
import com.beust.kobalt.archive.Jar
|
||||
import com.beust.kobalt.internal.ParallelLogger
|
||||
import com.beust.kobalt.maven.DependencyManager
|
||||
import com.beust.kobalt.maven.aether.Scope
|
||||
import com.beust.kobalt.misc.*
|
||||
|
@ -122,7 +121,7 @@ class JarGenerator @Inject constructor(val dependencyManager: DependencyManager)
|
|||
return result
|
||||
}
|
||||
|
||||
fun generateJar(project: Project, context: KobaltContext, jar: Jar, kobaltLog: ParallelLogger) : File {
|
||||
fun generateJar(project: Project, context: KobaltContext, jar: Jar) : File {
|
||||
val includedFiles = findIncludedFiles(project, context, jar)
|
||||
|
||||
//
|
||||
|
|
|
@ -74,8 +74,7 @@ class PackagingPlugin @Inject constructor(val dependencyManager : DependencyMana
|
|||
{ project ->
|
||||
try {
|
||||
packages.filter { it.project.name == project.name }.forEach { packageConfig ->
|
||||
packageConfig.jars.forEach { jarGenerator.generateJar(packageConfig.project, context, it,
|
||||
kobaltLog) }
|
||||
packageConfig.jars.forEach { jarGenerator.generateJar(packageConfig.project, context, it) }
|
||||
packageConfig.wars.forEach { warGenerator.generateWar(packageConfig.project, context, it) }
|
||||
packageConfig.zips.forEach { zipGenerator.generateZip(packageConfig.project, context, it) }
|
||||
if (packageConfig.generatePom) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue