mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
Indent.
This commit is contained in:
parent
fc61e9b132
commit
aa929eadb5
1 changed files with 7 additions and 7 deletions
|
@ -103,13 +103,13 @@ class KotlinPlugin @Inject constructor(val executors: KobaltExecutors, val depen
|
|||
// IClasspathContributor
|
||||
|
||||
override fun classpathEntriesFor(project: Project?, context: KobaltContext): List<IClasspathDependency> =
|
||||
if (project == null || accept(project)) {
|
||||
// All Kotlin projects automatically get the Kotlin runtime added to their class path
|
||||
listOf(getKotlinCompilerJar("kotlin-stdlib"), getKotlinCompilerJar("kotlin-runtime"))
|
||||
.map { FileDependency(it) }
|
||||
} else {
|
||||
emptyList()
|
||||
}
|
||||
if (project == null || accept(project)) {
|
||||
// All Kotlin projects automatically get the Kotlin runtime added to their class path
|
||||
listOf(getKotlinCompilerJar("kotlin-stdlib"), getKotlinCompilerJar("kotlin-runtime"))
|
||||
.map { FileDependency(it) }
|
||||
} else {
|
||||
emptyList()
|
||||
}
|
||||
|
||||
// ICompilerContributor
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue