task createSpotlessPreCommitHook() {
    def gitHooksDirectory = new File("$project.rootDir/.git/hooks/")
    if (!gitHooksDirectory.exists()) gitHooksDirectory.mkdirs()
    new File("$project.rootDir/.git/hooks", "pre-commit").text = """
    #!/bin/bash
    echo "Running spotless check"
    ./gradlew spotlessApply --init-script gradle/init.gradle.kts
"""
    "chmod +x .git/hooks/pre-commit".execute()
}

//adb shell setprop debug.firebase.analytics.app com.mshdabiola.ludo.debug
//adb shell setprop debug.firebase.analytics.app .none.