Hi guys, We are developing a kotlin web project w...
# kobalt
n
Hi guys, We are developing a kotlin web project with kobalt. We had some issues with product flavors and profiles. Let me post the first issue about product flavor. We were following this example: https://github.com/cbeust/kobalt-examples/tree/master/variants So, the issue with product flavor: 1) The project contains default com.example.Product class with product name in src/main/kotlin directory and application.properties file in src/main/resource directory. 2) Versions of those two files are also present for "pro" flavor. Problem: However when we build the project for the "pro" flavor: "java -jar kobalt/wrapper/kobalt-wrapper.jar assembleProRelease", the target war still contains application.properties and Product class from the default main folder instead of "pro" folder. This can be verified with the attached example project. Please let me know if there is more appropriate place for posting such kind of stuff.