|
|
@ -12,7 +12,7 @@ plugins { |
|
|
val commit = runCommand(arrayListOf("git", "rev-parse", "HEAD")) |
|
|
val commit = runCommand(arrayListOf("git", "rev-parse", "HEAD")) |
|
|
val changes = runCommand(arrayListOf("git", "diff", "--shortstat")) |
|
|
val changes = runCommand(arrayListOf("git", "diff", "--shortstat")) |
|
|
|
|
|
|
|
|
group = "xyz.brettb.discord.ieeevents" |
|
|
|
|
|
|
|
|
group = "xyz.brettb.discord" |
|
|
version = "${rootProject.findProperty("major")}.${rootProject.findProperty("minor")}.${rootProject.findProperty("patch")}" |
|
|
version = "${rootProject.findProperty("major")}.${rootProject.findProperty("minor")}.${rootProject.findProperty("patch")}" |
|
|
|
|
|
|
|
|
application { |
|
|
application { |
|
|
@ -20,6 +20,7 @@ application { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
buildConfig { |
|
|
buildConfig { |
|
|
|
|
|
packageName("xyz.brettb.discord.ieeevents") |
|
|
className("IEEEventsBotInfo") |
|
|
className("IEEEventsBotInfo") |
|
|
buildConfigField("String", "VERSION", "\"${version}\"") |
|
|
buildConfigField("String", "VERSION", "\"${version}\"") |
|
|
buildConfigField("String", "COMMIT", "\"$commit\"") |
|
|
buildConfigField("String", "COMMIT", "\"$commit\"") |
|
|
|