Skip to content

Commit c311c0a

Browse files
Abduqodiri Qurbonzodaqurbonzoda
authored andcommitted
Use implementation configuration instead of deprecated compile
1 parent 6524264 commit c311c0a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

examples/kotlin/build.gradle

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

4040
// Configure benchmark

plugin/build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ compileKotlin {
7373
}
7474

7575
dependencies {
76-
compile group: 'org.jetbrains.kotlin', name: 'kotlin-reflect', version: kotlin_version
76+
implementation group: 'org.jetbrains.kotlin', name: 'kotlin-reflect', version: kotlin_version
7777

78-
compile 'com.squareup:kotlinpoet:1.3.0'
79-
compile "org.openjdk.jmh:jmh-core:$jmhVersion"
78+
implementation 'com.squareup:kotlinpoet:1.3.0'
79+
implementation "org.openjdk.jmh:jmh-core:$jmhVersion"
8080

81-
compile group: 'org.jetbrains.kotlin', name: 'kotlin-util-klib-metadata', version: kotlin_version
82-
compile group: 'org.jetbrains.kotlin', name: 'kotlin-util-klib', version: kotlin_version
83-
compile group: 'org.jetbrains.kotlin', name: 'kotlin-util-io', version: kotlin_version
81+
implementation group: 'org.jetbrains.kotlin', name: 'kotlin-util-klib-metadata', version: kotlin_version
82+
implementation group: 'org.jetbrains.kotlin', name: 'kotlin-util-klib', version: kotlin_version
83+
implementation group: 'org.jetbrains.kotlin', name: 'kotlin-util-io', version: kotlin_version
8484

8585
compileOnly group: 'org.jetbrains.kotlin.multiplatform', name: 'org.jetbrains.kotlin.multiplatform.gradle.plugin', version: kotlin_version
8686
compileOnly "org.jetbrains.kotlin:kotlin-compiler-embeddable:$kotlin_version"

0 commit comments

Comments
 (0)