Module

data class Module(val name: String, val url: URL, val language: String? = null, val version: Version? = null, val changelog: String? = null)
"modules": [
{
"name": "Adventure",
"language": "en",
"url": "https://grader.cs.aalto.fi/static/O1_2021/projects/given/Adventure/Adventure.zip",
"version": "2.3",
"changelog": "Fixed game crashing on some inputs."
}
]

Constructors

Link copied to clipboard
constructor(name: String, url: URL, language: String? = null, version: Version? = null, changelog: String? = null)

Properties

Link copied to clipboard
val changelog: String? = null

Optional changelog, that gets shown as a tooltip in the modules list. Use empty string or leave out if you don't want a changelog.

Link copied to clipboard
val language: String? = null

Optional language of the module. If provided, only shown for that language in the UI.

Link copied to clipboard

Name for the module shown in the UI.

Link copied to clipboard
val url: URL

URL to a .zip file containing skeleton code, that the plugin downloads.

Link copied to clipboard
val version: Version? = null

Major.minor version number. Increment the major number when making breaking changes, else the minor number.