Skip to content

Commit

Permalink
Change version access to archiveVersion.get()
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-phoenix committed Jul 14, 2022
1 parent 0fa0c86 commit ae75a0e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions grammar/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ plugins {
group = "org.jetbrains.kotlin.spec.grammar"
version = "0.1"

val jar: Jar by tasks
val archivePrefix = "kotlin-grammar-parser"

repositories {
Expand Down Expand Up @@ -163,7 +162,7 @@ tasks.named("inspectClassesForKotlinIC") {
tasks.withType<Jar> {
dependsOn(instrumentTestCodeTask)

archiveFileName.set("$archivePrefix-$archiveVersion.jar")
archiveFileName.set("$archivePrefix-${archiveVersion.get()}.jar")

manifest {
attributes(
Expand Down

0 comments on commit ae75a0e

Please sign in to comment.