A build profile can choose different flags for local development and release output.

Build Profile Flags

BuildProfileFlags.kt
fun main() {
    val profile = 
    val minify = profile == "release"
    val warningsAsErrors = profile == "ci" || profile == "release"
    val label = when (profile) {
        "debug" -> "fast feedback"
        "release" -> "ship artifact"
        else -> "verification"
    }

    println("profile=$profile")
    println("minify=$minify")
    println("warningsAsErrors=$warningsAsErrors")
    println("label=$label")
}
fun main() {
    val profile = 
    val minify = profile == "release"
    val warningsAsErrors = profile == "ci" || profile == "release"
    val label = when (profile) {
        "debug" -> "fast feedback"
        "release" -> "ship artifact"
        else -> "verification"
    }

    println("profile=$profile")
    println("minify=$minify")
    println("warningsAsErrors=$warningsAsErrors")
    println("label=$label")
}
fun main() {
    val profile = 
    val minify = profile == "release"
    val warningsAsErrors = profile == "ci" || profile == "release"
    val label = when (profile) {
        "debug" -> "fast feedback"
        "release" -> "ship artifact"
        else -> "verification"
    }

    println("profile=$profile")
    println("minify=$minify")
    println("warningsAsErrors=$warningsAsErrors")
    println("label=$label")
}
build profile A build profile is a named set of choices used while compiling or packaging a project.