Skip to content

Commit

Permalink
Take supported.ij.version from CLI properties as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Walingar committed Oct 10, 2023
1 parent b58aad1 commit c670b2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions buildSrc/src/main/kotlin/IdeaConfiguration.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ enum class SupportedIJVersion {

fun Project.supportedIJVersion(): SupportedIJVersion {
val prop = localProperty("supported.ij.version")
?: rootProject.property("supported.ij.version")
?: error(
"'supported.ij.version' gradle property is missing. " +
"Please, provide it using local.properties file or -Psupported.ij.version argument in CLI"
Expand Down

0 comments on commit c670b2b

Please sign in to comment.