Skip to content

Commit 644960f

Browse files
committed
Migrate maven dependency declarations
1 parent 4bf05c2 commit 644960f

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ allprojects {
5757
}
5858

5959
apply plugin: 'kotlin'
60-
apply plugin: 'java'
60+
apply plugin: 'java-library'
6161
apply plugin: 'idea'
6262
apply plugin: 'signing'
6363
apply plugin: 'maven-publish'

core/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ dependencies {
2828

2929
// This dependency is only needed as a "sample" compiler plugin to test that
3030
// running compiler plugins passed via the pluginClasspath CLI option works
31-
testRuntime "org.jetbrains.kotlin:kotlin-scripting-compiler:$kotlin_version"
31+
testRuntimeOnly "org.jetbrains.kotlin:kotlin-scripting-compiler:$kotlin_version"
3232

3333
// Include Kotlin/JS standard library in test classpath for auto loading
34-
testRuntime "org.jetbrains.kotlin:kotlin-stdlib-js"
34+
testRuntimeOnly "org.jetbrains.kotlin:kotlin-stdlib-js"
3535

3636
// The Kotlin compiler should be near the end of the list because its .jar file includes
3737
// an obsolete version of Guava
38-
implementation "org.jetbrains.kotlin:kotlin-compiler-embeddable:$kotlin_version"
38+
api "org.jetbrains.kotlin:kotlin-compiler-embeddable:$kotlin_version"
3939
implementation "org.jetbrains.kotlin:kotlin-annotation-processing-embeddable:$kotlin_version"
4040
}
4141

ksp/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ buildscript {
44

55
dependencies {
66
api project(':core')
7-
implementation "com.google.devtools.ksp:symbol-processing-api:$ksp_version"
7+
api "com.google.devtools.ksp:symbol-processing-api:$ksp_version"
88
implementation "com.google.devtools.ksp:symbol-processing:$ksp_version"
9-
implementation "org.jetbrains.kotlin:kotlin-compiler-embeddable:$kotlin_version"
109
}

0 commit comments

Comments
 (0)