Skip to content

ReadingBatContent Objects

Paul Ambrose edited this page Jul 27, 2020 · 4 revisions

ReadingBatContent Objects

The src/main/kotlin/Content.kt DSL description declares a variable named content, which is assigned a ReadingBatContent object.

A ReadingBatContent object is created with a readingBatContent {} call.

A ReadingBatContent value can define 3 types of LanguageGroup objects: python, java, and kotlin.

ReadingBatContent Properties:

Name Default Description
repo FileSystemSource("./") Default source for the challenges
branchName "master" Default Github branch name for the sources
cacheChallenges isProduction() Determines if challenges are cached after being read.