diff --git a/src/main/kotlin/com/beust/kobalt/app/BuildScriptJarFile.kt b/src/main/kotlin/com/beust/kobalt/app/BuildScriptJarFile.kt index bc446874..49610569 100644 --- a/src/main/kotlin/com/beust/kobalt/app/BuildScriptJarFile.kt +++ b/src/main/kotlin/com/beust/kobalt/app/BuildScriptJarFile.kt @@ -3,6 +3,13 @@ package com.beust.kobalt.app import java.io.File import java.io.FileWriter +/** + * A wrapper around buildScript.jar. Additionally, this class takes care of the "profiles" file that + * gets saved alongside buildScript.jar and which keeps track of which profiles were active when this + * jar file gets generated. With this file, Kobalt can accurately decide when the jar file should be + * regenerated if the user is specifying different profiles than the ones that were used to compile that + * jar file. + */ class BuildScriptJarFile(val jarFile: File) { val file = File(jarFile.parent, "profiles")