Drop bintray kotlin-dev (KTI-528)
This commit is contained in:
committed by
TeamCityServer
parent
1cedc7e93e
commit
5631481747
-4
@@ -100,7 +100,6 @@ val KotlinVersionKind.isStable
|
||||
|
||||
object EapVersionDownloader {
|
||||
fun getLatestEapVersion() = downloadVersionFromMavenCentral(EAP_URL).firstOrNull()
|
||||
fun getLatestDevVersion() = downloadVersions(DEV_URL).firstOrNull()
|
||||
|
||||
private fun downloadPage(url: String): TaskResult<String> = safe {
|
||||
BufferedReader(InputStreamReader(URL(url).openStream())).lines().collect(Collectors.joining("\n"))
|
||||
@@ -135,9 +134,6 @@ object EapVersionDownloader {
|
||||
@NonNls
|
||||
private val EAP_URL = "https://search.maven.org/solrsearch/select?q=g:org.jetbrains.kotlin%20AND%20a:kotlin-gradle-plugin"
|
||||
|
||||
@NonNls
|
||||
private val DEV_URL = "https://dl.bintray.com/kotlin/kotlin-dev/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/"
|
||||
|
||||
@NonNls
|
||||
private val versionRegexp = """href="([^"\\]+)"""".toRegex()
|
||||
}
|
||||
Reference in New Issue
Block a user