Skip to content

Commit

Permalink
Check releasing property rather than nebula.release
Browse files Browse the repository at this point in the history
In other OpenRewrite Gradle build scripts we use the `releasing` property, which in turn gets set when running the build (using `-Preleasing`).
  • Loading branch information
knutwannheden committed Dec 16, 2024
1 parent 1fca27c commit e0212fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rewrite-javascript-remote/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
}


val latest = if (project.hasProperty("nebula.release")) "latest.release" else "latest.integration"
val latest = if (project.hasProperty("releasing")) "latest.release" else "latest.integration"
dependencies {

compileOnly("com.google.auto.service:auto-service-annotations:1.1.1")
Expand Down
2 changes: 1 addition & 1 deletion rewrite-javascript/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}


val latest = if (project.hasProperty("nebula.release")) "latest.release" else "latest.integration"
val latest = if (project.hasProperty("releasing")) "latest.release" else "latest.integration"
dependencies {
compileOnly("org.openrewrite:rewrite-test")

Expand Down
2 changes: 1 addition & 1 deletion rewrite-test-engine-remote/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ application {
mainClass = "org.openrewrite.remote.java.RemotingServer"
}

val latest = if (project.hasProperty("nebula.release")) "latest.release" else "latest.integration"
val latest = if (project.hasProperty("releasing")) "latest.release" else "latest.integration"

dependencies {

Expand Down

0 comments on commit e0212fd

Please sign in to comment.