Skip to content

Commit 68f2ae4

Browse files
committed
unify quotes using double quotes
1 parent e7a353f commit 68f2ae4

File tree

9 files changed

+55
-55
lines changed

9 files changed

+55
-55
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
buildscript {
22
repositories {
3-
maven { url 'https://maven.pkg.jetbrains.space/kotlin/p/kotlinx/maven' }
3+
maven { url "https://maven.pkg.jetbrains.space/kotlin/p/kotlinx/maven" }
44
gradlePluginPortal()
55

66
KotlinCommunity.addDevRepositoryIfEnabled(delegate, project)
@@ -12,7 +12,7 @@ buildscript {
1212
}
1313
}
1414

15-
apply plugin: 'kotlinx.team.infra'
15+
apply plugin: "kotlinx.team.infra"
1616

1717
infra {
1818
teamcity {

examples/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
group 'org.jetbrains.kotlinx.benchmark.examples'
2-
version '0.1-SNAPSHOT'
1+
group "org.jetbrains.kotlinx.benchmark.examples"
2+
version "0.1-SNAPSHOT"
33

44
subprojects {
55
repositories {

examples/java/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ buildscript {
55
}
66

77
plugins {
8-
id 'java'
8+
id "java"
99
}
1010

11-
apply plugin: 'org.jetbrains.kotlinx.benchmark'
11+
apply plugin: "org.jetbrains.kotlinx.benchmark"
1212

1313
dependencies {
1414
implementation(project(":kotlinx-benchmark-runtime"))

examples/kotlin-multiplatform/build.gradle

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import org.jetbrains.kotlin.konan.target.KonanTarget
33
import kotlinx.benchmark.gradle.JsBenchmarksExecutor
44

55
plugins {
6-
id 'org.jetbrains.kotlin.multiplatform'
7-
id 'org.jetbrains.kotlin.plugin.allopen' version "1.9.0"
8-
id 'org.jetbrains.kotlinx.benchmark'
6+
id "org.jetbrains.kotlin.multiplatform"
7+
id "org.jetbrains.kotlin.plugin.allopen" version "1.8.21"
8+
id "org.jetbrains.kotlinx.benchmark"
99
}
1010

1111
// how to apply plugin to a specific source set?
@@ -15,15 +15,15 @@ allOpen {
1515

1616
kotlin {
1717
jvm {
18-
compilations.create('benchmark') { associateWith(compilations.main) }
18+
compilations.create("benchmark") { associateWith(compilations.main) }
1919
}
20-
js('jsIr', IR) { nodejs() }
21-
js('jsIrBuiltIn', IR) { nodejs() }
22-
wasm('wasmJs') { d8() }
23-
if (HostManager.host == KonanTarget.MACOS_X64.INSTANCE) macosX64('native')
24-
if (HostManager.host == KonanTarget.MACOS_ARM64.INSTANCE) macosArm64('native')
25-
if (HostManager.hostIsLinux) linuxX64('native')
26-
if (HostManager.hostIsMingw) mingwX64('native')
20+
js("jsIr", IR) { nodejs() }
21+
js("jsIrBuiltIn", IR) { nodejs() }
22+
wasm("wasmJs") { d8() }
23+
if (HostManager.host == KonanTarget.MACOS_X64.INSTANCE) macosX64("native")
24+
if (HostManager.host == KonanTarget.MACOS_ARM64.INSTANCE) macosArm64("native")
25+
if (HostManager.hostIsLinux) linuxX64("native")
26+
if (HostManager.hostIsMingw) mingwX64("native")
2727

2828
sourceSets.all {
2929
languageSettings {

examples/kotlin/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
plugins {
2-
id 'java'
3-
id 'org.jetbrains.kotlin.jvm'
4-
id 'org.jetbrains.kotlin.plugin.allopen' version "1.9.0"
5-
id 'org.jetbrains.kotlinx.benchmark'
2+
id "java"
3+
id "org.jetbrains.kotlin.jvm"
4+
id "org.jetbrains.kotlin.plugin.allopen" version "1.8.21"
5+
id "org.jetbrains.kotlinx.benchmark"
66
}
77

88

integration/src/test/resources/templates/kotlin-multiplatform/build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ import org.jetbrains.kotlin.konan.target.HostManager
33

44
kotlin {
55
jvm {
6-
compilations.create('benchmark') { associateWith(compilations.main) }
6+
compilations.create("benchmark") { associateWith(compilations.main) }
77
}
8-
js('jsIr', IR) { nodejs() }
9-
wasm('wasmJs') { d8() }
8+
js("jsIr", IR) { nodejs() }
9+
wasm("wasmJs") { d8() }
1010

11-
if (HostManager.hostIsLinux) linuxX64('native')
12-
if (HostManager.hostIsMingw) mingwX64('native')
13-
if (HostManager.host == KonanTarget.MACOS_X64.INSTANCE) macosX64('native')
14-
if (HostManager.host == KonanTarget.MACOS_ARM64.INSTANCE) macosArm64('native')
11+
if (HostManager.hostIsLinux) linuxX64("native")
12+
if (HostManager.hostIsMingw) mingwX64("native")
13+
if (HostManager.host == KonanTarget.MACOS_X64.INSTANCE) macosX64("native")
14+
if (HostManager.host == KonanTarget.MACOS_ARM64.INSTANCE) macosArm64("native")
1515

1616
sourceSets {
1717
commonMain {

plugin/build.gradle

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
buildscript {
22
ext.kotlinDevUrl = rootProject.properties["kotlin_repo_url"]
33
repositories {
4-
maven { url 'https://maven.pkg.jetbrains.space/kotlin/p/kotlinx/maven' }
4+
maven { url "https://maven.pkg.jetbrains.space/kotlin/p/kotlinx/maven" }
55
mavenCentral()
66
if (kotlinDevUrl != null) {
77
maven { url = kotlinDevUrl }
@@ -15,13 +15,13 @@ buildscript {
1515
}
1616

1717
plugins {
18-
id 'java-gradle-plugin'
19-
id 'maven-publish'
20-
id 'com.gradle.plugin-publish' version '0.21.0'
18+
id "java-gradle-plugin"
19+
id "maven-publish"
20+
id "com.gradle.plugin-publish" version "0.21.0"
2121
}
2222

23-
apply plugin: 'org.jetbrains.kotlin.jvm'
24-
apply plugin: 'kotlinx.team.infra'
23+
apply plugin: "org.jetbrains.kotlin.jvm"
24+
apply plugin: "kotlinx.team.infra"
2525

2626
infra {
2727
teamcity {
@@ -46,9 +46,9 @@ repositories {
4646
}
4747

4848
pluginBundle {
49-
website = 'https://github.com/Kotlin/kotlinx-benchmark'
50-
vcsUrl = 'https://github.com/Kotlin/kotlinx-benchmark.git'
51-
tags = ['benchmarking', 'multiplatform', 'kotlin']
49+
website = "https://github.com/Kotlin/kotlinx-benchmark"
50+
vcsUrl = "https://github.com/Kotlin/kotlinx-benchmark.git"
51+
tags = ["benchmarking", "multiplatform", "kotlin"]
5252
}
5353

5454
gradlePlugin {
@@ -64,34 +64,34 @@ gradlePlugin {
6464

6565
sourceSets {
6666
main {
67-
kotlin.srcDirs = ['main/src']
68-
java.srcDirs = ['main/src']
69-
resources.srcDirs = ['main/resources']
67+
kotlin.srcDirs = ["main/src"]
68+
java.srcDirs = ["main/src"]
69+
resources.srcDirs = ["main/resources"]
7070
}
7171
test {
72-
kotlin.srcDirs = ['test/src']
73-
java.srcDirs = ['test/src']
74-
resources.srcDirs = ['test/resources']
72+
kotlin.srcDirs = ["test/src"]
73+
java.srcDirs = ["test/src"]
74+
resources.srcDirs = ["test/resources"]
7575
}
7676
}
7777

7878
compileKotlin {
7979
kotlinOptions {
80-
freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
80+
freeCompilerArgs += "-opt-in=kotlin.RequiresOptIn"
8181
apiVersion = "1.4" // the version of Kotlin embedded in Gradle
8282
}
8383
}
8484

8585
dependencies {
86-
implementation group: 'org.jetbrains.kotlin', name: 'kotlin-reflect', version: kotlin_version
86+
implementation group: "org.jetbrains.kotlin", name: "kotlin-reflect", version: kotlin_version
8787

88-
implementation 'com.squareup:kotlinpoet:1.3.0'
88+
implementation "com.squareup:kotlinpoet:1.3.0"
8989

90-
implementation group: 'org.jetbrains.kotlin', name: 'kotlin-util-klib-metadata', version: kotlin_version
91-
implementation group: 'org.jetbrains.kotlin', name: 'kotlin-util-klib', version: kotlin_version
92-
implementation group: 'org.jetbrains.kotlin', name: 'kotlin-util-io', version: kotlin_version
90+
implementation group: "org.jetbrains.kotlin", name: "kotlin-util-klib-metadata", version: kotlin_version
91+
implementation group: "org.jetbrains.kotlin", name: "kotlin-util-klib", version: kotlin_version
92+
implementation group: "org.jetbrains.kotlin", name: "kotlin-util-io", version: kotlin_version
9393

94-
compileOnly group: 'org.jetbrains.kotlin.multiplatform', name: 'org.jetbrains.kotlin.multiplatform.gradle.plugin', version: kotlin_version
94+
compileOnly group: "org.jetbrains.kotlin.multiplatform", name: "org.jetbrains.kotlin.multiplatform.gradle.plugin", version: kotlin_version
9595
compileOnly "org.jetbrains.kotlin:kotlin-compiler-embeddable:$kotlin_version"
9696
compileOnly "org.openjdk.jmh:jmh-generator-bytecode:$jmhVersion" // used in worker
9797
}

runtime/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id 'org.jetbrains.kotlin.multiplatform'
2+
id "org.jetbrains.kotlin.multiplatform"
33
}
44

55
repositories {
@@ -54,15 +54,15 @@ kotlin {
5454
resources.srcDirs = ["$it.name/resources"]
5555
languageSettings {
5656
progressiveMode = true
57-
optIn('kotlin.experimental.ExperimentalNativeApi')
57+
optIn("kotlin.experimental.ExperimentalNativeApi")
5858
optIn("kotlinx.cinterop.ExperimentalForeignApi")
5959
}
6060
}
6161

6262
sourceSets {
6363
commonTest {
6464
dependencies {
65-
implementation 'org.jetbrains.kotlin:kotlin-test'
65+
implementation "org.jetbrains.kotlin:kotlin-test"
6666
}
6767
}
6868
jvmMain {

settings.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ pluginManagement {
77
}
88
}
99

10-
rootProject.name = 'kotlinx-benchmark'
10+
rootProject.name = "kotlinx-benchmark"
1111

1212
includeBuild("plugin")
1313

1414
include "runtime"
15-
project(":runtime").name = 'kotlinx-benchmark-runtime'
15+
project(":runtime").name = "kotlinx-benchmark-runtime"
1616

1717
include "integration"
1818

0 commit comments

Comments
 (0)