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"
11
11
12
12
const val bintrayUserName = " %env.BINTRAY_USER%"
13
13
const val bintrayToken = " %env.BINTRAY_API_KEY%"
14
- const val libraryStagingRepoDescription = " kotlinx. benchmark"
14
+ const val libraryStagingRepoDescription = " kotlinx- benchmark"
15
15
16
16
val platforms = Platform .values()
17
17
const val jdk = " JDK_18_x64"
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ kotlin {
100
100
sourceSets {
101
101
commonMain {
102
102
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")
104
104
}
105
105
}
106
106
}
@@ -110,7 +110,7 @@ kotlin {
110
110
To use the library in a JVM-only project add the platform to the artifact name, e.g.:
111
111
112
112
``` 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")
114
114
```
115
115
116
116
# Configuration
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ infra {
20
20
}
21
21
22
22
publishing {
23
- include(" :kotlinx. benchmark. runtime" )
23
+ include(" :kotlinx- benchmark- runtime" )
24
24
25
25
libraryRepoUrl = " https://github.com/Kotlin/kotlinx-benchmark"
26
26
sonatype {}
@@ -29,6 +29,6 @@ infra {
29
29
30
30
afterEvaluate {
31
31
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" )) }
33
33
}
34
34
}
Original file line number Diff line number Diff line change 1
1
buildscript {
2
- repositories {
3
- mavenLocal()
4
- }
5
2
dependencies {
6
- classpath " org.jetbrains.kotlinx:benchmark:0.2.0"
3
+ classpath " org.jetbrains.kotlinx:kotlinx- benchmark-plugin :0.2.0"
7
4
}
8
5
}
9
6
@@ -14,7 +11,7 @@ plugins {
14
11
apply plugin : ' org.jetbrains.kotlinx.benchmark'
15
12
16
13
dependencies {
17
- implementation(project(" :kotlinx. benchmark. runtime" ))
14
+ implementation(project(" :kotlinx- benchmark- runtime" ))
18
15
}
19
16
20
17
benchmark {
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ configure<AllOpenExtension> {
21
21
}
22
22
23
23
dependencies {
24
- implementation(project(" :kotlinx. benchmark. runtime" ))
24
+ implementation(project(" :kotlinx- benchmark- runtime" ))
25
25
}
26
26
27
27
tasks.withType<KotlinCompile > {
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ kotlin {
41
41
sourceSets {
42
42
commonMain {
43
43
dependencies {
44
- implementation project(" :kotlinx. benchmark. runtime" )
44
+ implementation project(" :kotlinx- benchmark- runtime" )
45
45
}
46
46
}
47
47
commonTest {
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ compileTestKotlin {
33
33
// Propagate dependencies from main sourceSet
34
34
// You can add "+ sourceSets.test.output" to include test output as well
35
35
dependencies {
36
- implementation(project(" :kotlinx. benchmark. runtime" ))
36
+ implementation(project(" :kotlinx- benchmark- runtime" ))
37
37
benchmarksCompile sourceSets. main. output + sourceSets. main. runtimeClasspath
38
38
}
39
39
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ pluginManagement {
5
5
maven { url ' https://plugins.gradle.org/m2/' }
6
6
}
7
7
}
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 {
10
10
11
11
enableFeaturePreview(' GRADLE_METADATA' )
12
12
13
- rootProject. name = ' kotlinx. benchmark'
13
+ rootProject. name = ' kotlinx- benchmark'
14
14
15
- includeBuild(" plugin" ) {
16
- dependencySubstitution {
17
- substitute module(' org.jetbrains.kotlinx:benchmark' ) with project(' :' )
18
- }
19
- }
15
+ includeBuild(" plugin" )
20
16
21
17
include " runtime"
22
- project(" :runtime" ). name = ' kotlinx. benchmark. runtime'
18
+ project(" :runtime" ). name = ' kotlinx- benchmark- runtime'
23
19
24
20
include " examples"
25
21
include " examples:kotlin-multiplatform"
You can’t perform that action at this time.
0 commit comments