1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 00:17:11 -07:00

Comments.

This commit is contained in:
Cedric Beust 2016-07-12 03:48:30 -08:00
parent 97423c6b68
commit 3975f73318

View file

@ -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")