Skip to content

Commit d07b4ef

Browse files
committed
Add comment why non-obvious dependency is needed
1 parent 4c728a3 commit d07b4ef

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

build.gradle

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ idea {
4141
}
4242

4343
dependencies {
44-
testRuntime "org.jetbrains.kotlin:kotlin-scripting-compiler:1.3.50"
45-
4644
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
4745
testImplementation group: 'junit', name: 'junit', version: '4.12'
4846

@@ -56,7 +54,11 @@ dependencies {
5654
implementation "com.squareup.okio:okio:2.1.0"
5755
implementation 'io.github.classgraph:classgraph:4.6.10'
5856

59-
// the Kotlin compiler should be near the end of the list because its .jar file includes
57+
// This dependency is only needed as a "sample" compiler plugin to test that
58+
// running compiler plugins passed via the pluginClasspath CLI option works
59+
testRuntime "org.jetbrains.kotlin:kotlin-scripting-compiler:1.3.50"
60+
61+
// The Kotlin compiler should be near the end of the list because its .jar file includes
6062
// an obsolete version of Guava
6163
implementation "org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.50"
6264
implementation "org.jetbrains.kotlin:kotlin-annotation-processing-embeddable:1.3.50"

0 commit comments

Comments
 (0)