File tree Expand file tree Collapse file tree 9 files changed +14
-21
lines changed Expand file tree Collapse file tree 9 files changed +14
-21
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ const val releaseVersionParameter = "releaseVersion"
1111
1212const val bintrayUserName = " %env.BINTRAY_USER%"
1313const val bintrayToken = " %env.BINTRAY_API_KEY%"
14- const val libraryStagingRepoDescription = " kotlinx. benchmark"
14+ const val libraryStagingRepoDescription = " kotlinx- benchmark"
1515
1616val platforms = Platform .values()
1717const val jdk = " JDK_18_x64"
Original file line number Diff line number Diff 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 {
110110To 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
Original file line number Diff line number Diff 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
3030afterEvaluate {
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}
Original file line number Diff line number Diff line change 11buildscript {
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 {
1411apply plugin : ' org.jetbrains.kotlinx.benchmark'
1512
1613dependencies {
17- implementation(project(" :kotlinx. benchmark. runtime" ))
14+ implementation(project(" :kotlinx- benchmark- runtime" ))
1815}
1916
2017benchmark {
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ configure<AllOpenExtension> {
2121}
2222
2323dependencies {
24- implementation(project(" :kotlinx. benchmark. runtime" ))
24+ implementation(project(" :kotlinx- benchmark- runtime" ))
2525}
2626
2727tasks.withType<KotlinCompile > {
Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff 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
3535dependencies {
36- implementation(project(" :kotlinx. benchmark. runtime" ))
36+ implementation(project(" :kotlinx- benchmark- runtime" ))
3737 benchmarksCompile sourceSets. main. output + sourceSets. main. runtimeClasspath
3838}
3939
Original file line number Diff line number Diff 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 '
Original file line number Diff line number Diff line change @@ -10,16 +10,12 @@ pluginManagement {
1010
1111enableFeaturePreview(' 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
2117include " runtime"
22- project(" :runtime" ). name = ' kotlinx. benchmark. runtime'
18+ project(" :runtime" ). name = ' kotlinx- benchmark- runtime'
2319
2420include " examples"
2521include " examples:kotlin-multiplatform"
You can’t perform that action at this time.
0 commit comments