Skip to content

Commit 6178739

Browse files
committed
Remove release candidate workaround
1 parent ad86106 commit 6178739

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

plugin/build.gradle

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,7 @@ File downloadVersionManifest(String version) {
214214
this.println("> Downloading ${version} manifest...")
215215

216216
Object manifest = new JsonSlurper().parse(versionManifestFile)
217-
218-
// TODO: remove
219-
def optional = manifest.versions.stream().filter({ version == "1.21.9" ? it.id == version + "-rc1" : it.id == version }).findFirst()
217+
def optional = manifest.versions.stream().filter({ it.id == version }).findFirst()
220218
if (optional.empty()) {
221219
throw new RuntimeException("Couldn't find version: ${version}")
222220
}

0 commit comments

Comments
 (0)