plugins { id 'com.android.application' version '8.9.0' apply false id 'org.lsposed.lsplugin.jgit' version "1.1" } tasks.register('clean', Delete) { delete rootProject.layout.buildDirectory } var repo = jgit.repo(true) ext.commitCount = repo.commitCount('refs/remotes/origin/main')