Use https everywhere - production code

This commit is contained in:
Yaroslav Russkih
2019-02-18 11:45:19 +01:00
committed by Ilya Chernikov
parent 7d5158c439
commit 7135f1972a
12 changed files with 25 additions and 25 deletions
File diff suppressed because one or more lines are too long
@@ -31,7 +31,7 @@ class KotlinGradleWebMultiplatformModuleBuilder : KotlinGradleAbstractMultiplatf
override fun BuildScriptDataBuilder.setupAdditionalDependencies() { override fun BuildScriptDataBuilder.setupAdditionalDependencies() {
addBuildscriptRepositoriesDefinition("jcenter()") addBuildscriptRepositoriesDefinition("jcenter()")
addRepositoriesDefinition("maven { url \"http://dl.bintray.com/kotlin/ktor\" }") addRepositoriesDefinition("maven { url \"https://dl.bintray.com/kotlin/ktor\" }")
addRepositoriesDefinition("jcenter()") addRepositoriesDefinition("jcenter()")
} }
@@ -88,7 +88,7 @@ class ViewController: UIViewController {
testInfo.write( testInfo.write(
""" """
<?xml version="1.0" encoding="UTF-8"?> <?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"> <plist version="1.0">
<dict> <dict>
<key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key>
@@ -114,7 +114,7 @@ class ViewController: UIViewController {
sourceInfo.write( sourceInfo.write(
""" """
<?xml version="1.0" encoding="UTF-8"?> <?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"> <plist version="1.0">
<dict> <dict>
<key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key>
@@ -55,7 +55,7 @@ import java.util.concurrent.TimeUnit;
public class ConfigureDialogWithModulesAndVersion extends DialogWrapper { public class ConfigureDialogWithModulesAndVersion extends DialogWrapper {
private static final String VERSIONS_LIST_URL = 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; @NotNull private final String minimumVersion;
@@ -53,7 +53,7 @@ class KotlinMavenArchetypesProvider(private val kotlinPluginVersion: String, pri
) )
.filter { it.second != null }.joinToString(separator = " AND ") { "${it.first}:\"${it.second}\"" } .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") private fun String.encodeURL() = URLEncoder.encode(this, "UTF-8")
@@ -372,7 +372,7 @@ protected constructor(
project, project,
"<html>Couldn't configure kotlin-maven plugin automatically.<br/>" + "<html>Couldn't configure kotlin-maven plugin automatically.<br/>" +
(if (message != null) "$message</br>" else "") + (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" "Configure Kotlin-Maven Plugin"
) )
} }
@@ -68,10 +68,10 @@ import org.jetbrains.kotlin.utils.addToStdlib.safeAs
private object DocumentationURLs { private object DocumentationURLs {
const val LATE_INITIALIZED_PROPERTIES_AND_VARIABLES_URL = 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 = 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 { class HtmlClassifierNamePolicy(val base: ClassifierNamePolicy) : ClassifierNamePolicy {
+1 -1
View File
@@ -162,7 +162,7 @@
<repository> <repository>
<id>snapshots.fusesource.org</id> <id>snapshots.fusesource.org</id>
<name>FuseSource Snapshots Repository</name> <name>FuseSource Snapshots Repository</name>
<url>http://repo.fusesource.com/nexus/content/repositories/snapshots</url> <url>https://repo.fusesource.com/nexus/content/repositories/snapshots</url>
<snapshots> <snapshots>
<enabled>false</enabled> <enabled>false</enabled>
</snapshots> </snapshots>
+2 -2
View File
@@ -12,7 +12,7 @@
<name>Kotlin</name> <name>Kotlin</name>
<description>Kotlin is a statically typed programming language that compiles to JVM byte codes and JavaScript</description> <description>Kotlin is a statically typed programming language that compiles to JVM byte codes and JavaScript</description>
<url>http://kotlinlang.org/</url> <url>https://kotlinlang.org/</url>
<licenses> <licenses>
<license> <license>
@@ -34,7 +34,7 @@
<id>JetBrains</id> <id>JetBrains</id>
<name>JetBrains Team</name> <name>JetBrains Team</name>
<organization>JetBrains</organization> <organization>JetBrains</organization>
<organizationUrl>http://www.jetbrains.com</organizationUrl> <organizationUrl>https://www.jetbrains.com</organizationUrl>
</developer> </developer>
</developers> </developers>
+10 -10
View File
@@ -17,20 +17,20 @@ package org.jetbrains.idl2k
val urls = listOf( val urls = listOf(
"https://raw.githubusercontent.com/whatwg/html-mirror/master/source" to "org.w3c.dom", "https://raw.githubusercontent.com/whatwg/html-mirror/master/source" to "org.w3c.dom",
"http://html.spec.whatwg.org/" to "org.w3c.dom", "https://html.spec.whatwg.org/" to "org.w3c.dom",
"https://raw.githubusercontent.com/whatwg/dom/master/dom.html" to "org.w3c.dom", "https://raw.githubusercontent.com/whatwg/dom/master/dom.html" to "org.w3c.dom",
"https://dvcs.w3.org/hg/editing/raw-file/tip/editing.html" to "org.w3c.dom", "https://dvcs.w3.org/hg/editing/raw-file/tip/editing.html" to "org.w3c.dom",
"http://www.w3.org/TR/animation-timing/" to "org.w3c.dom", "https://www.w3.org/TR/animation-timing/" to "org.w3c.dom",
"http://www.w3.org/TR/geometry-1/" to "org.w3c.dom", "https://www.w3.org/TR/geometry-1/" to "org.w3c.dom",
"http://www.w3.org/TR/cssom-view/" to "org.w3c.dom", "https://www.w3.org/TR/cssom-view/" to "org.w3c.dom",
"http://www.w3.org/TR/uievents/" to "org.w3c.dom.events", "https://www.w3.org/TR/uievents/" to "org.w3c.dom.events",
"http://www.w3.org/TR/pointerevents/" to "org.w3c.dom.pointerevents", "https://www.w3.org/TR/pointerevents/" to "org.w3c.dom.pointerevents",
"https://drafts.csswg.org/cssom/" to "org.w3c.dom.css", "https://drafts.csswg.org/cssom/" to "org.w3c.dom.css",
"https://www.w3.org/TR/css-masking-1/" to "org.w3c.css.masking", "https://www.w3.org/TR/css-masking-1/" to "org.w3c.css.masking",
"https://w3c.github.io/mediacapture-main/" to "org.w3c.dom.mediacapture", "https://w3c.github.io/mediacapture-main/" to "org.w3c.dom.mediacapture",
"http://www.w3.org/TR/DOM-Parsing/" to "org.w3c.dom.parsing", "https://www.w3.org/TR/DOM-Parsing/" to "org.w3c.dom.parsing",
"https://w3c.github.io/clipboard-apis" to "org.w3c.dom.clipboard", "https://w3c.github.io/clipboard-apis" to "org.w3c.dom.clipboard",
"https://raw.githubusercontent.com/whatwg/url/master/url.html" to "org.w3c.dom.url", "https://raw.githubusercontent.com/whatwg/url/master/url.html" to "org.w3c.dom.url",
@@ -44,10 +44,10 @@ val urls = listOf(
"https://raw.githubusercontent.com/whatwg/notifications/master/notifications.html" to "org.w3c.notifications", "https://raw.githubusercontent.com/whatwg/notifications/master/notifications.html" to "org.w3c.notifications",
"https://raw.githubusercontent.com/whatwg/fullscreen/master/fullscreen.html" to "org.w3c.fullscreen", "https://raw.githubusercontent.com/whatwg/fullscreen/master/fullscreen.html" to "org.w3c.fullscreen",
"http://www.w3.org/TR/vibration/" to "org.w3c.vibration", "https://www.w3.org/TR/vibration/" to "org.w3c.vibration",
"http://www.w3.org/TR/hr-time/" to "org.w3c.performance", "https://www.w3.org/TR/hr-time/" to "org.w3c.performance",
"http://www.w3.org/TR/2012/REC-navigation-timing-20121217/" to "org.w3c.performance", "https://www.w3.org/TR/2012/REC-navigation-timing-20121217/" to "org.w3c.performance",
"https://w3c.github.io/ServiceWorker/" to "org.w3c.workers" "https://w3c.github.io/ServiceWorker/" to "org.w3c.workers"
) )
+2 -2
View File
@@ -14,7 +14,7 @@
<name>Kotlin Libraries bill-of-materials</name> <name>Kotlin Libraries bill-of-materials</name>
<description>Kotlin is a statically typed programming language that compiles to JVM byte codes and JavaScript</description> <description>Kotlin is a statically typed programming language that compiles to JVM byte codes and JavaScript</description>
<url>http://kotlinlang.org/</url> <url>https://kotlinlang.org/</url>
<licenses> <licenses>
<license> <license>
@@ -36,7 +36,7 @@
<id>JetBrains</id> <id>JetBrains</id>
<name>JetBrains Team</name> <name>JetBrains Team</name>
<organization>JetBrains</organization> <organization>JetBrains</organization>
<organizationUrl>http://www.jetbrains.com</organizationUrl> <organizationUrl>https://www.jetbrains.com</organizationUrl>
</developer> </developer>
</developers> </developers>
@@ -55,7 +55,7 @@ class IvyResolver : GenericRepositoryWithBridge {
URLResolver().apply { URLResolver().apply {
isM2compatible = true isM2compatible = true
name = "central" name = "central"
addArtifactPattern("http://repo1.maven.org/maven2/$DEFAULT_ARTIFACT_PATTERN") addArtifactPattern("https://repo1.maven.org/maven2/$DEFAULT_ARTIFACT_PATTERN")
} }
) )
} }