Use https everywhere - tests and test data

This commit is contained in:
Yaroslav Russkih
2019-02-18 21:25:20 +01:00
committed by Ilya Chernikov
parent 7135f1972a
commit 028a311949
46 changed files with 336 additions and 336 deletions
@@ -47,7 +47,7 @@ repositories {
mavenLocal()
maven { url 'https://maven.google.com' }
maven {
url 'http://oss.jfrog.org/artifactory/oss-snapshot-local'
url 'https://oss.jfrog.org/artifactory/oss-snapshot-local'
}
mavenCentral()
}
@@ -56,4 +56,4 @@ dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
compile 'org.jetbrains.anko:anko-common:0.9'
}
}
@@ -9,7 +9,7 @@ version = "1.0"
repositories {
mavenLocal()
jcenter()
maven { setUrl("http://dl.bintray.com/kotlin/kotlinx.html/") }
maven { setUrl("https://dl.bintray.com/kotlin/kotlinx.html/") }
}
kotlin {
@@ -9,7 +9,7 @@ version = "1.0"
repositories {
mavenLocal()
jcenter()
maven { setUrl("http://dl.bintray.com/kotlin/kotlinx.html/") }
maven { setUrl("https://dl.bintray.com/kotlin/kotlinx.html/") }
}
kotlin {
@@ -16,7 +16,7 @@ apply plugin: 'kotlin-multiplatform'
repositories {
mavenLocal()
jcenter()
maven { url "http://dl.bintray.com/kotlin/kotlinx.html/" }
maven { url "https://dl.bintray.com/kotlin/kotlinx.html/" }
}
kotlin {
@@ -16,7 +16,7 @@ apply plugin: 'kotlin-multiplatform'
repositories {
mavenLocal()
jcenter()
maven { url "http://dl.bintray.com/kotlin/kotlinx.html/" }
maven { url "https://dl.bintray.com/kotlin/kotlinx.html/" }
}
kotlin {
@@ -5,7 +5,7 @@ plugins {
repositories {
mavenLocal()
jcenter()
maven { setUrl("http://dl.bintray.com/kotlin/kotlinx.html/") }
maven { setUrl("https://dl.bintray.com/kotlin/kotlinx.html/") }
}
kotlin {
@@ -1,19 +1,19 @@
plugins {
id("org.jetbrains.kotlin.multiplatform")
}
repositories {
mavenLocal()
jcenter()
maven { setUrl("http://dl.bintray.com/kotlin/kotlinx.html/") }
}
kotlin {
sourceSets.commonMain {
dependencies {
api("org.jetbrains.kotlin:kotlin-stdlib-common")
}
}
iosArm64("ios")
}
plugins {
id("org.jetbrains.kotlin.multiplatform")
}
repositories {
mavenLocal()
jcenter()
maven { setUrl("https://dl.bintray.com/kotlin/kotlinx.html/") }
}
kotlin {
sourceSets.commonMain {
dependencies {
api("org.jetbrains.kotlin:kotlin-stdlib-common")
}
}
iosArm64("ios")
}
@@ -1,82 +1,82 @@
plugins {
id("org.jetbrains.kotlin.multiplatform").version("<pluginMarkerVersion>")
}
repositories {
mavenLocal()
jcenter()
maven { setUrl("http://dl.bintray.com/kotlin/kotlinx.html/") }
}
kotlin {
sourceSets["commonMain"].apply {
dependencies {
api("org.jetbrains.kotlin:kotlin-stdlib-common")
}
}
sourceSets.create("iosMain").apply {
dependencies {
api(project(":exported"))
}
}
sourceSets["commonTest"].apply {
dependencies {
api("org.jetbrains.kotlin:kotlin-test-annotations-common")
}
}
val macos = macosX64("macos64")
val linux = linuxX64("linux64")
val windows = mingwX64("mingw64")
configure(listOf(macos, linux, windows)) {
binaries {
executable() // Executable with default name.
executable("foo") // Custom binary name.
executable("bar", listOf(RELEASE)) // Custom build types.
// Configure a binary.
executable("baz") {
// Rename an output binary: baz.kexe -> my-baz.kexe.
baseName = "my-baz"
// Use a custom entry point.
entryPoint = "foo.main"
}
executable("test2") {
compilation = compilations["test"]
}
sharedLib(listOf(RELEASE))
staticLib(listOf(RELEASE))
}
// Check that we can access binaries/tasks:
// Just by name:
println("Check link task: ${binaries["releaseShared"].linkTask.name}")
// Using a typed getter:
println("Check run task: ${binaries.getExecutable("foo", RELEASE).runTask?.name}")
}
iosArm64("ios") {
binaries {
framework {
export(project(":exported"))
}
framework("custom", listOf(RELEASE)) {
embedBitcode("disable")
linkerOpts = mutableListOf("-L.")
freeCompilerArgs = mutableListOf("-Xtime")
}
}
}
iosX64("iosSim") {
binaries {
framework()
}
}
}
plugins {
id("org.jetbrains.kotlin.multiplatform").version("<pluginMarkerVersion>")
}
repositories {
mavenLocal()
jcenter()
maven { setUrl("https://dl.bintray.com/kotlin/kotlinx.html/") }
}
kotlin {
sourceSets["commonMain"].apply {
dependencies {
api("org.jetbrains.kotlin:kotlin-stdlib-common")
}
}
sourceSets.create("iosMain").apply {
dependencies {
api(project(":exported"))
}
}
sourceSets["commonTest"].apply {
dependencies {
api("org.jetbrains.kotlin:kotlin-test-annotations-common")
}
}
val macos = macosX64("macos64")
val linux = linuxX64("linux64")
val windows = mingwX64("mingw64")
configure(listOf(macos, linux, windows)) {
binaries {
executable() // Executable with default name.
executable("foo") // Custom binary name.
executable("bar", listOf(RELEASE)) // Custom build types.
// Configure a binary.
executable("baz") {
// Rename an output binary: baz.kexe -> my-baz.kexe.
baseName = "my-baz"
// Use a custom entry point.
entryPoint = "foo.main"
}
executable("test2") {
compilation = compilations["test"]
}
sharedLib(listOf(RELEASE))
staticLib(listOf(RELEASE))
}
// Check that we can access binaries/tasks:
// Just by name:
println("Check link task: ${binaries["releaseShared"].linkTask.name}")
// Using a typed getter:
println("Check run task: ${binaries.getExecutable("foo", RELEASE).runTask?.name}")
}
iosArm64("ios") {
binaries {
framework {
export(project(":exported"))
}
framework("custom", listOf(RELEASE)) {
embedBitcode("disable")
linkerOpts = mutableListOf("-L.")
freeCompilerArgs = mutableListOf("-Xtime")
}
}
}
iosX64("iosSim") {
binaries {
framework()
}
}
}
@@ -1,19 +1,19 @@
plugins {
id("org.jetbrains.kotlin.multiplatform")
}
repositories {
mavenLocal()
jcenter()
maven { setUrl("http://dl.bintray.com/kotlin/kotlinx.html/") }
}
kotlin {
sourceSets["commonMain"].apply {
dependencies {
api("org.jetbrains.kotlin:kotlin-stdlib-common")
}
}
iosArm64("ios")
}
plugins {
id("org.jetbrains.kotlin.multiplatform")
}
repositories {
mavenLocal()
jcenter()
maven { setUrl("https://dl.bintray.com/kotlin/kotlinx.html/") }
}
kotlin {
sourceSets["commonMain"].apply {
dependencies {
api("org.jetbrains.kotlin:kotlin-stdlib-common")
}
}
iosArm64("ios")
}
@@ -14,7 +14,7 @@ apply plugin: 'kotlin-multiplatform'
repositories {
mavenLocal()
jcenter()
maven { url "http://dl.bintray.com/kotlin/kotlinx.html/" }
maven { url "https://dl.bintray.com/kotlin/kotlinx.html/" }
maven { url 'repo' }
}
@@ -3,7 +3,7 @@ apply plugin: 'kotlin-multiplatform'
repositories {
mavenLocal()
jcenter()
maven { url "http://dl.bintray.com/kotlin/kotlinx.html/" }
maven { url "https://dl.bintray.com/kotlin/kotlinx.html/" }
}
kotlin {
@@ -7,7 +7,7 @@ version = '1.0'
repositories {
mavenLocal()
jcenter()
maven { url "http://dl.bintray.com/kotlin/kotlinx.html/" }
maven { url "https://dl.bintray.com/kotlin/kotlinx.html/" }
}
kotlin {
@@ -16,7 +16,7 @@ apply plugin: 'kotlin-multiplatform'
repositories {
mavenLocal()
jcenter()
maven { url "http://dl.bintray.com/kotlin/kotlinx.html/" }
maven { url "https://dl.bintray.com/kotlin/kotlinx.html/" }
}
kotlin {
@@ -32,4 +32,4 @@ kotlin {
compilations.main.outputKinds += [DYNAMIC, STATIC]
}
}
}
}
@@ -16,7 +16,7 @@ apply plugin: 'kotlin-multiplatform'
repositories {
mavenLocal()
jcenter()
maven { url "http://dl.bintray.com/kotlin/kotlinx.html/" }
maven { url "https://dl.bintray.com/kotlin/kotlinx.html/" }
}
kotlin {
@@ -25,4 +25,4 @@ kotlin {
fromPreset(presets.linuxX64, 'linux64')
fromPreset(presets.mingwX64, 'mingw64')
}
}
}