cbeust / kobalt

A Kotlin-based build system for the JVM.
Apache License 2.0
432 stars 60 forks source link

kobaltw assemble only assembles first project #485

Closed johanhaleby closed 6 years ago

johanhaleby commented 6 years ago

I have a Kobalt build containing multiple (2) projects (it's open source and can be found here). When I run ./kobaltw assemble it only seem to generate the artifacts for this first project and ignore the second one. I've also tried running ./kobalt <projectname>:assemble but this doesn't work for any of the projects but rather fails with:

./kobaltw <projectname>:assemble
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
            _  __          _               _   _
           | |/ /   ___   | |__     __ _  | | | |_
           | ' /   / _ \  | '_ \   / _` | | | | __|
           | . \  | (_) | | |_) | | (_| | | | | |_
           |_|\_\  \___/  |_.__/   \__,_| |_|  \__|  1.0.114

*****
***** ERROR Unknown task: <projectname>:assemble
*****

What am I doing wrong?

johanhaleby commented 6 years ago

This does indeed work, it was my fault. I still had an old "kobaltBuild" folder from the time when the project only had one "module" which confused me.