2021-09-18 19:53:14 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# Prints the latest Gradle and Kotlin versions
|
|
|
|
highlight "Kotlin"
|
2022-05-24 17:44:36 +00:00
|
|
|
curl https://repo1.maven.org/maven2/org/jetbrains/kotlin/kotlin-stdlib/maven-metadata.xml 2>/dev/null | grep 'version>' | grep -iv '\(m\|rc\)' | sed 's/.*>\(.*\)<.*/\1/' | tail -${1:-6}
|
2021-09-18 19:53:14 +00:00
|
|
|
highlight "Gradle"
|
2022-05-24 17:44:36 +00:00
|
|
|
curl https://services.gradle.org/distributions/ 2>/dev/null | grep 'name.*all.*sha' | grep -v rc | head -${1:-6} | cut -d- -f2
|