mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-25 07:57:12 -07:00
Refactor.
This commit is contained in:
parent
54e5669349
commit
baf6c94400
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class PublishPlugin @Inject constructor(val files: KFiles, val factory: PomGener
|
|||
private fun findArtifactFiles(project: Project) : List<File> {
|
||||
val result = files.findRecursively(File(project.directory, project.buildDirectory)) { file ->
|
||||
VALID.any { file.endsWith(it)} and file.contains(project.version!!)
|
||||
}.map { it -> File(it) }
|
||||
}.map(::File)
|
||||
return result
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue