From 7ac01e8ab0d538d0e688b8ba54c7e5f9699ef9f3 Mon Sep 17 00:00:00 2001
From: Cedric Beust
- You start by defining boolean values initialized to false
in your build file:
+ You start by defining the profiles in your build file as follows:
- val experimental = false - val premium = false + val experimental by profile() + val premium by profile()
- Then you use this variable wherever you need it in your build file:
+ These variables are of type Boolean
and you can use them anywhere in your build file:
val p = project {