Skip to content

Commit

Permalink
Fix 'extra' reference to point to project
Browse files Browse the repository at this point in the history
  • Loading branch information
sergej-koscejev committed Jul 28, 2023
1 parent 0d509a3 commit 65ec6c8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ plugins {
id("co.riiid.gradle") version "0.4.2"

// Version must match buildscript mps-gradle-plugin dependency above
id("download-jbr") version "1.11.+"
id("download-jbr") version "1.17.+"
id("de.itemis.mps.gradle.common") version "1.17.+"
}

Expand Down Expand Up @@ -152,9 +152,9 @@ tasks {
val downloadJbr = named("downloadJbr", DownloadJbrForPlatform::class)
dependsOn(downloadJbr)
doLast {
extra["itemis.mps.gradle.ant.defaultScriptArgs"] = defaultScriptArgs.map { "-D${it.key}=${it.value}" }
extra["itemis.mps.gradle.ant.defaultScriptClasspath"] = buildScriptClasspath
extra["itemis.mps.gradle.ant.defaultJavaExecutable"] = downloadJbr.get().javaExecutable
project.extra["itemis.mps.gradle.ant.defaultScriptArgs"] = defaultScriptArgs.map { "-D${it.key}=${it.value}" }
project.extra["itemis.mps.gradle.ant.defaultScriptClasspath"] = buildScriptClasspath
project.extra["itemis.mps.gradle.ant.defaultJavaExecutable"] = downloadJbr.get().javaExecutable
}
}

Expand Down

0 comments on commit 65ec6c8

Please sign in to comment.