sbt-garrity-software/src/main/scala/gs/GsKeys.scala

19 lines
549 B
Scala

package gs
import sbt.*
/** Defines all setting and task keys for the GS SBT Plugin.
*/
object GsKeys:
/** Required setting for projects using the Garrity Software plugin. This
* value must match the Git repository name. This value is used to configure
* publishing and generate sub-project names.
*/
lazy val gsProjectName = settingKey[String](
"Name of the project and Git repository."
)
lazy val writeScalaVersionToFile = taskKey[Unit](
"Task to emit the Scala version used to build this project to a file."
)