Skip to content

Commit 54cc404

Browse files
author
Abduqodiri Qurbonzoda
committed
Use hyphen instead of dot in artifacts name
1 parent 13b8e0a commit 54cc404

File tree

9 files changed

+14
-21
lines changed

9 files changed

+14
-21
lines changed

.teamcity/utils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const val releaseVersionParameter = "releaseVersion"
1111

1212
const val bintrayUserName = "%env.BINTRAY_USER%"
1313
const val bintrayToken = "%env.BINTRAY_API_KEY%"
14-
const val libraryStagingRepoDescription = "kotlinx.benchmark"
14+
const val libraryStagingRepoDescription = "kotlinx-benchmark"
1515

1616
val platforms = Platform.values()
1717
const val jdk = "JDK_18_x64"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ kotlin {
100100
sourceSets {
101101
commonMain {
102102
dependencies {
103-
implementation("org.jetbrains.kotlinx:kotlinx.benchmark.runtime:0.2.0-dev-20")
103+
implementation("org.jetbrains.kotlinx:kotlinx-benchmark-runtime:0.2.0-dev-20")
104104
}
105105
}
106106
}
@@ -110,7 +110,7 @@ kotlin {
110110
To use the library in a JVM-only project add the platform to the artifact name, e.g.:
111111

112112
```groovy
113-
implementation("org.jetbrains.kotlinx:kotlinx.benchmark.runtime-jvm:0.2.0-dev-20")
113+
implementation("org.jetbrains.kotlinx:kotlinx-benchmark-runtime-jvm:0.2.0-dev-20")
114114
```
115115

116116
# Configuration

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ infra {
2020
}
2121

2222
publishing {
23-
include(":kotlinx.benchmark.runtime")
23+
include(":kotlinx-benchmark-runtime")
2424

2525
libraryRepoUrl = "https://github.com/Kotlin/kotlinx-benchmark"
2626
sonatype {}
@@ -29,6 +29,6 @@ infra {
2929

3030
afterEvaluate {
3131
gradle.includedBuilds.forEach { included ->
32-
project(":kotlinx.benchmark.runtime").tasks.named("publishToMavenLocal") { dependsOn(included.task(":publishToMavenLocal")) }
32+
project(":kotlinx-benchmark-runtime").tasks.named("publishToMavenLocal") { dependsOn(included.task(":publishToMavenLocal")) }
3333
}
3434
}

examples/java/build.gradle

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
buildscript {
2-
repositories {
3-
mavenLocal()
4-
}
52
dependencies {
6-
classpath "org.jetbrains.kotlinx:benchmark:0.2.0"
3+
classpath "org.jetbrains.kotlinx:kotlinx-benchmark-plugin:0.2.0"
74
}
85
}
96

@@ -14,7 +11,7 @@ plugins {
1411
apply plugin: 'org.jetbrains.kotlinx.benchmark'
1512

1613
dependencies {
17-
implementation(project(":kotlinx.benchmark.runtime"))
14+
implementation(project(":kotlinx-benchmark-runtime"))
1815
}
1916

2017
benchmark {

examples/kotlin-kts/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ configure<AllOpenExtension> {
2121
}
2222

2323
dependencies {
24-
implementation(project(":kotlinx.benchmark.runtime"))
24+
implementation(project(":kotlinx-benchmark-runtime"))
2525
}
2626

2727
tasks.withType<KotlinCompile> {

examples/kotlin-multiplatform/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ kotlin {
4141
sourceSets {
4242
commonMain {
4343
dependencies {
44-
implementation project(":kotlinx.benchmark.runtime")
44+
implementation project(":kotlinx-benchmark-runtime")
4545
}
4646
}
4747
commonTest {

examples/kotlin/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ compileTestKotlin {
3333
// Propagate dependencies from main sourceSet
3434
// You can add "+ sourceSets.test.output" to include test output as well
3535
dependencies {
36-
implementation(project(":kotlinx.benchmark.runtime"))
36+
implementation(project(":kotlinx-benchmark-runtime"))
3737
benchmarksCompile sourceSets.main.output + sourceSets.main.runtimeClasspath
3838
}
3939

plugin/settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ pluginManagement {
55
maven { url 'https://plugins.gradle.org/m2/' }
66
}
77
}
8-
rootProject.name = 'benchmark'
8+
rootProject.name = 'kotlinx-benchmark-plugin'

settings.gradle

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,12 @@ pluginManagement {
1010

1111
enableFeaturePreview('GRADLE_METADATA')
1212

13-
rootProject.name = 'kotlinx.benchmark'
13+
rootProject.name = 'kotlinx-benchmark'
1414

15-
includeBuild("plugin") {
16-
dependencySubstitution {
17-
substitute module('org.jetbrains.kotlinx:benchmark') with project(':')
18-
}
19-
}
15+
includeBuild("plugin")
2016

2117
include "runtime"
22-
project(":runtime").name = 'kotlinx.benchmark.runtime'
18+
project(":runtime").name = 'kotlinx-benchmark-runtime'
2319

2420
include "examples"
2521
include "examples:kotlin-multiplatform"

0 commit comments

Comments
 (0)