mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Set JAR_NAME correctly.
This commit is contained in:
parent
78c9a80937
commit
a5c3c93657
2 changed files with 2 additions and 2 deletions
|
@ -50,8 +50,6 @@ class Archives {
|
||||||
context.logger.log(project.name, 3, " $result is up to date")
|
context.logger.log(project.name, 3, " $result is up to date")
|
||||||
}
|
}
|
||||||
|
|
||||||
project.projectProperties.put(JAR_NAME, result.absolutePath)
|
|
||||||
|
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -73,6 +73,8 @@ class PackagingPlugin @Inject constructor(val dependencyManager : DependencyMana
|
||||||
{ null },
|
{ null },
|
||||||
{ project ->
|
{ project ->
|
||||||
try {
|
try {
|
||||||
|
project.projectProperties.put(Archives.JAR_NAME,
|
||||||
|
context.variant.archiveName(project, null, ".jar"))
|
||||||
packages.filter { it.project.name == project.name }.forEach { packageConfig ->
|
packages.filter { it.project.name == project.name }.forEach { packageConfig ->
|
||||||
packageConfig.jars.forEach { jarGenerator.generateJar(packageConfig.project, context, it) }
|
packageConfig.jars.forEach { jarGenerator.generateJar(packageConfig.project, context, it) }
|
||||||
packageConfig.wars.forEach { warGenerator.generateWar(packageConfig.project, context, it) }
|
packageConfig.wars.forEach { warGenerator.generateWar(packageConfig.project, context, it) }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue