Skip to content

Commit

Permalink
use latest versions
Browse files Browse the repository at this point in the history
Signed-off-by: OlegDokuka <oleh@moderne.io>
  • Loading branch information
OlegDokuka committed Oct 10, 2024
1 parent 4a697be commit 4c0235d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 142 deletions.
1 change: 0 additions & 1 deletion Rewrite/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<PackageIcon>openrewrite.png</PackageIcon>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<VersionPrefix>0.9.1</VersionPrefix>
<RewriteRemoteDir Condition="'$(RewriteRemoteDir)'==''">..\..\..\..\..\moderneinc\rewrite-remote\Rewrite.Remote</RewriteRemoteDir>
<RemotePrinter>True</RemotePrinter>
<DebugVisitor>False</DebugVisitor>
<SanitizeStackTrace>True</SanitizeStackTrace>
Expand Down
130 changes: 0 additions & 130 deletions Rewrite/Rewrite.Sources.sln

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,6 @@

<ItemGroup>
<PackageReference Include="PeterO.Cbor" Version="5.0.0-alpha1" NoWarn="NU5104" />
<PackageReference Include="Rewrite.Remote" Version="$(RewriteRemoteVersion)"/>
</ItemGroup>

<ItemGroup Condition="'$(RELEASE_BUILD)'==''">
<ProjectReference Include="$(RewriteRemoteDir)\src\Rewrite.Remote\Rewrite.Remote.csproj" />
</ItemGroup>

<ItemGroup Condition="'$(RELEASE_BUILD)'!=''">
<PackageReference Include="Rewrite.Remote" Version="$(RewriteRemoteVersion)"/>
</ItemGroup>
</Project>
4 changes: 3 additions & 1 deletion rewrite-csharp-remote/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ plugins {
id("org.openrewrite.build.language-library")
}

val latest = if (System.getenv("RELEASE_PUBLICATION") != null) "latest.release" else "latest.integration"

dependencies {

compileOnly("com.google.auto.service:auto-service-annotations:1.1.1")
Expand All @@ -16,7 +18,7 @@ dependencies {

implementation(project(":rewrite-csharp"))

implementation("org.openrewrite:rewrite-remote:latest.release") {
implementation("org.openrewrite:rewrite-remote:${latest}") {
exclude(group = "org.openrewrite", module = "rewrite-remote-java")
}

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

val latest = if (System.getenv("RELEASE_PUBLICATION") != null) "latest.release" else "latest.integration"

dependencies {

// The bom version can also be set to a specific version
Expand All @@ -19,10 +21,10 @@ dependencies {
implementation(project(":rewrite-csharp"))
implementation(project(":rewrite-csharp-remote"))

implementation("org.openrewrite:rewrite-remote:latest.release") {
implementation("org.openrewrite:rewrite-remote:${latest}") {
exclude(group = "org.openrewrite", module = "rewrite-remote-java")
}
implementation("org.openrewrite:rewrite-remote-java:latest.release") {
implementation("org.openrewrite:rewrite-remote-java:${latest}") {
exclude(group = "org.openrewrite", module = "rewrite-remote-java")
}

Expand Down

0 comments on commit 4c0235d

Please sign in to comment.