Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfd699cc

Browse files
khouari1ligee
authored andcommitted
Small typo fixes in jvm-maven-deps
1 parent6125fc5 commitfd699cc

File tree

1 file changed

+3
-3
lines changed
  • jvm/basic/jvm-maven-deps/script/src/main/kotlin/org/jetbrains/kotlin/script/examples/jvm/resolve/maven

1 file changed

+3
-3
lines changed

‎jvm/basic/jvm-maven-deps/script/src/main/kotlin/org/jetbrains/kotlin/script/examples/jvm/resolve/maven/scriptDef.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ abstract class ScriptWithMavenDeps
3030

3131
object ScriptWithMavenDepsConfiguration : ScriptCompilationConfiguration(
3232
{
33-
// adds implicit import statements (in this case `implort kotlin.script.experimental.dependencies.DependsOn`, etc.)
33+
// adds implicit import statements (in this case `import kotlin.script.experimental.dependencies.DependsOn`, etc.)
3434
// to each script on compilation
3535
defaultImports(DependsOn::class,Repository::class)
3636

3737
jvm {
3838
// the dependenciesFromCurrentContext helper function extracts the classpath from current thread classloader
3939
// and take jars with mentioned names to the compilation classpath via `dependencies` key.
40-
// to add the whole classpath for the classloader without check for jarpresense, use
40+
// to add the whole classpath for the classloader without check for jarpresence, use
4141
// `dependenciesFromCurrentContext(wholeClasspath = true)`
4242
dependenciesFromCurrentContext(
4343
"script", // script library jar name
@@ -46,7 +46,7 @@ object ScriptWithMavenDepsConfiguration : ScriptCompilationConfiguration(
4646
}
4747
// section that callbacks during compilation
4848
refineConfiguration {
49-
// the callback calledthan any of the listed file-level annotations are encountered in the compiled script
49+
// the callback calledwhen any of the listed file-level annotations are encountered in the compiled script
5050
// the processing is defined by the `handler`, that may return refined configuration depending on the annotations
5151
onAnnotations(DependsOn::class,Repository::class, handler = ::configureMavenDepsOnAnnotations)
5252
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp