Skip to content

Commit

Permalink
just another jitpack hack closes antlr#29
Browse files Browse the repository at this point in the history
  • Loading branch information
drieks committed Oct 16, 2019
1 parent 513e1e6 commit 6c7393e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ val version: String by project
val versionProperty = version
// do the same for group
val group: String by project
val groupProperty = group
val groupProperty = if (group.endsWith(".antlr-kotlin")) {
group
} else {
// just another jitpack hack
"$group.antlr-kotlin"
}

allprojects {
// ... because `version` is another var here.
Expand Down

0 comments on commit 6c7393e

Please sign in to comment.