Spring Boot conditional compilation/configuration
<p>I have a Spring project that runs locally during the development/debugging phase, 
while on production it will be loaded on a PaaS.</p>

<p>My problem is that there are certain instruction that must be executed depending on the platform!</p>

<p>Currently I check a boolean (using <code>@ConfigurationProperties</code>) that I read from the <code>application.properties</code>, but I'm wondering if there's a smarter way because I have also to change the boolean when I push in production.</p>