mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Reformat.
This commit is contained in:
parent
f39c3ce514
commit
5027a92087
1 changed files with 7 additions and 9 deletions
|
@ -238,10 +238,8 @@ abstract class JvmCompilerPlugin @Inject constructor(
|
|||
CompilerActionInfo {
|
||||
copyResources(project, JvmCompilerPlugin.SOURCE_SET_MAIN)
|
||||
|
||||
val fullClasspath = if (isTest)
|
||||
dependencyManager.testDependencies(project, context)
|
||||
else
|
||||
dependencyManager.dependencies(project, context)
|
||||
val fullClasspath = if (isTest) dependencyManager.testDependencies(project, context)
|
||||
else dependencyManager.dependencies(project, context)
|
||||
|
||||
// Remove all the excluded dependencies from the classpath
|
||||
val classpath = fullClasspath.filter {
|
||||
|
@ -257,11 +255,11 @@ abstract class JvmCompilerPlugin @Inject constructor(
|
|||
|
||||
// Source directories from the contributors
|
||||
initialSourceDirectories.addAll(
|
||||
if (isTest) {
|
||||
context.pluginInfo.testSourceDirContributors.flatMap { it.testSourceDirectoriesFor(project, context) }
|
||||
} else {
|
||||
context.pluginInfo.sourceDirContributors.flatMap { it.sourceDirectoriesFor(project, context) }
|
||||
})
|
||||
if (isTest) {
|
||||
context.pluginInfo.testSourceDirContributors.flatMap { it.testSourceDirectoriesFor(project, context) }
|
||||
} else {
|
||||
context.pluginInfo.sourceDirContributors.flatMap { it.sourceDirectoriesFor(project, context) }
|
||||
})
|
||||
|
||||
// Transform them with the interceptors, if any
|
||||
val sourceDirectories = if (isTest) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue