Module

@Serializable
data class Module(val name: String, val url: String, val version: String = "1.0", val language: String? = null, val changelog: String? = null, val sbt: Boolean = false)(source)

Downloadable module archive. version is parsed by ConfigVersion.parse. A null language supports all course languages.

A+ Courses expects a ZIP containing a top-level directory matching name. For example, Hello.zip contains Hello/Hello.iml and the module's source files. An sbt module contains Hello/build.sbt and its sources under Hello/.

Constructors

Link copied to clipboard
constructor(name: String, url: String, version: String = "1.0", language: String? = null, changelog: String? = null, sbt: Boolean = false)

Properties

Link copied to clipboard

Changes shown to students when a module update is available.

Link copied to clipboard
Link copied to clipboard

Directory and module name used in exercise mappings.

Link copied to clipboard

Import the extracted directory as an sbt project. False loads the module's .iml file.

Link copied to clipboard
val url: String

Download URL of the module ZIP archive.

Link copied to clipboard