All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.unibo.collektive.compiler.util.CompilationResult.kt Maven / Gradle / Ivy

package it.unibo.collektive.compiler.util

import org.jetbrains.kotlin.codegen.state.GenerationState
import org.jetbrains.kotlin.config.JVMConfigurationKeys.OUTPUT_DIRECTORY
import java.io.File

/**
 * Get the output directory for the KotlinJVM compiler from the configuration.
 */
fun GenerationState.jvmOutputDirectory(): File = checkNotNull(configuration.get(OUTPUT_DIRECTORY)) {
    "No output directory for KotlinJVM found in the configuration"
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy