mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Comments.
This commit is contained in:
parent
97423c6b68
commit
3975f73318
1 changed files with 7 additions and 0 deletions
|
@ -3,6 +3,13 @@ package com.beust.kobalt.app
|
||||||
import java.io.File
|
import java.io.File
|
||||||
import java.io.FileWriter
|
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) {
|
class BuildScriptJarFile(val jarFile: File) {
|
||||||
val file = File(jarFile.parent, "profiles")
|
val file = File(jarFile.parent, "profiles")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue