Skip to content

Commit 9d834e0

Browse files
committed
Remove RC workaround
1 parent dae7f35 commit 9d834e0

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
@@ -216,9 +216,7 @@ File downloadVersionManifest(String version) {
216216
this.println("> Downloading ${version} manifest...")
217217

218218
Object manifest = new JsonSlurper().parse(versionManifestFile)
219-
220-
// TODO: remove
221-
def optional = manifest.versions.stream().filter({ version == "1.21.11" ? it.id == version + "-rc3" : it.id == version }).findFirst()
219+
def optional = manifest.versions.stream().filter({ it.id == version }).findFirst()
222220
if (optional.empty()) {
223221
throw new RuntimeException("Couldn't find version: ${version}")
224222
}

0 commit comments

Comments
 (0)