Log Kotlin compiler classpath with File.pathSeparator in Gradle
To make it easier to copy-paste it to run the compiler outside of Gradle.
This commit is contained in:
committed by
Space Team
parent
0ab8d07e23
commit
0e767a7020
+4
-2
@@ -151,8 +151,10 @@ internal class GradleKotlinCompilerWork @Inject constructor(
|
||||
|
||||
private fun compileWithDaemonOrFallbackImpl(messageCollector: MessageCollector): Pair<ExitCode, KotlinCompilerExecutionStrategy> {
|
||||
with(log) {
|
||||
kotlinDebug { "Kotlin compiler class: ${compilerClassName}" }
|
||||
kotlinDebug { "Kotlin compiler classpath: ${compilerFullClasspath.joinToString { it.normalize().absolutePath }}" }
|
||||
kotlinDebug { "Kotlin compiler class: $compilerClassName" }
|
||||
kotlinDebug {
|
||||
"Kotlin compiler classpath: ${compilerFullClasspath.joinToString(File.pathSeparator) { it.normalize().absolutePath }}"
|
||||
}
|
||||
kotlinDebug { "$taskPath Kotlin compiler args: ${compilerArgs.joinToString(" ")}" }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user