'How to configure Debug and Release variants in kotlin MPP
When searching for a way to configure debug and release variants for kotlin, the only thing I can find relates to the android plugin. Is there anything similar for the kotlin jvm or kotlin mpp plugins that allow you to provide different compile time constants? I want this so that I may conditionally compile out various expensive correctness checks and logging for release builds.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
