Use https everywhere - tests and test data
This commit is contained in:
committed by
Ilya Chernikov
parent
7135f1972a
commit
028a311949
+2
-2
@@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -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 {
|
||||
|
||||
+1
-1
@@ -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 {
|
||||
|
||||
+1
-1
@@ -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 {
|
||||
|
||||
+1
-1
@@ -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 {
|
||||
|
||||
+1
-1
@@ -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 {
|
||||
|
||||
+19
-19
@@ -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")
|
||||
}
|
||||
|
||||
+82
-82
@@ -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()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+19
-19
@@ -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")
|
||||
}
|
||||
|
||||
+1
-1
@@ -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' }
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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 {
|
||||
|
||||
+1
-1
@@ -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 {
|
||||
|
||||
+2
-2
@@ -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]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -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')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user