Use https everywhere - production code
This commit is contained in:
committed by
Ilya Chernikov
parent
7d5158c439
commit
7135f1972a
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -31,7 +31,7 @@ class KotlinGradleWebMultiplatformModuleBuilder : KotlinGradleAbstractMultiplatf
|
||||
|
||||
override fun BuildScriptDataBuilder.setupAdditionalDependencies() {
|
||||
addBuildscriptRepositoriesDefinition("jcenter()")
|
||||
addRepositoriesDefinition("maven { url \"http://dl.bintray.com/kotlin/ktor\" }")
|
||||
addRepositoriesDefinition("maven { url \"https://dl.bintray.com/kotlin/ktor\" }")
|
||||
addRepositoriesDefinition("jcenter()")
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -88,7 +88,7 @@ class ViewController: UIViewController {
|
||||
testInfo.write(
|
||||
"""
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
@@ -114,7 +114,7 @@ class ViewController: UIViewController {
|
||||
sourceInfo.write(
|
||||
"""
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
|
||||
+1
-1
@@ -55,7 +55,7 @@ import java.util.concurrent.TimeUnit;
|
||||
|
||||
public class ConfigureDialogWithModulesAndVersion extends DialogWrapper {
|
||||
private static final String VERSIONS_LIST_URL =
|
||||
"http://search.maven.org/solrsearch/select?q=g:%22org.jetbrains.kotlin%22+AND+a:%22kotlin-stdlib%22&core=gav&rows=20&wt=json";
|
||||
"https://search.maven.org/solrsearch/select?q=g:%22org.jetbrains.kotlin%22+AND+a:%22kotlin-stdlib%22&core=gav&rows=20&wt=json";
|
||||
|
||||
@NotNull private final String minimumVersion;
|
||||
|
||||
|
||||
+1
-1
@@ -53,7 +53,7 @@ class KotlinMavenArchetypesProvider(private val kotlinPluginVersion: String, pri
|
||||
)
|
||||
.filter { it.second != null }.joinToString(separator = " AND ") { "${it.first}:\"${it.second}\"" }
|
||||
|
||||
return "http://search.maven.org/solrsearch/select?q=${q.encodeURL()}&core=gav&rows=$rowsLimit&wt=json"
|
||||
return "https://search.maven.org/solrsearch/select?q=${q.encodeURL()}&core=gav&rows=$rowsLimit&wt=json"
|
||||
}
|
||||
|
||||
private fun String.encodeURL() = URLEncoder.encode(this, "UTF-8")
|
||||
|
||||
+1
-1
@@ -372,7 +372,7 @@ protected constructor(
|
||||
project,
|
||||
"<html>Couldn't configure kotlin-maven plugin automatically.<br/>" +
|
||||
(if (message != null) "$message</br>" else "") +
|
||||
"See manual installation instructions <a href=\"http://confluence.jetbrains.com/display/Kotlin/Kotlin+Build+Tools#KotlinBuildTools-Maven\">here</a>.</html>",
|
||||
"See manual installation instructions <a href=\"https://confluence.jetbrains.com/display/Kotlin/Kotlin+Build+Tools#KotlinBuildTools-Maven\">here</a>.</html>",
|
||||
"Configure Kotlin-Maven Plugin"
|
||||
)
|
||||
}
|
||||
|
||||
@@ -68,10 +68,10 @@ import org.jetbrains.kotlin.utils.addToStdlib.safeAs
|
||||
|
||||
private object DocumentationURLs {
|
||||
const val LATE_INITIALIZED_PROPERTIES_AND_VARIABLES_URL =
|
||||
"http://kotlinlang.org/docs/reference/properties.html#late-initialized-properties-and-variables"
|
||||
"https://kotlinlang.org/docs/reference/properties.html#late-initialized-properties-and-variables"
|
||||
|
||||
const val TAIL_RECURSIVE_FUNCTIONS_URL =
|
||||
"http://kotlinlang.org/docs/reference/functions.html#tail-recursive-functions"
|
||||
"https://kotlinlang.org/docs/reference/functions.html#tail-recursive-functions"
|
||||
}
|
||||
|
||||
class HtmlClassifierNamePolicy(val base: ClassifierNamePolicy) : ClassifierNamePolicy {
|
||||
|
||||
Reference in New Issue
Block a user