27 lines
740 B
Groovy
27 lines
740 B
Groovy
import com.jessebrault.site.composition.CompositionContainer
|
|
import com.jessebrault.site.util.TitleMaker
|
|
import com.jessebrault.ssg.buildscript.BuildScriptBase
|
|
import groovy.transform.BaseScript
|
|
|
|
import static groowt.util.di.BindingUtil.toSelf
|
|
|
|
@BaseScript
|
|
BuildScriptBase base
|
|
|
|
build {
|
|
siteName 'Jesse Brault'
|
|
baseUrl 'https://jessebrault.com'
|
|
basePackage 'com.jessebrault.site'
|
|
globals {
|
|
siteTagLine = 'Conductor, Composer, Developer'
|
|
menuItems = ['Biography', 'Compositions']
|
|
compositionCategories = ['Chamber', 'Solo']
|
|
}
|
|
objectFactoryBuilder.configure {
|
|
configureRegistry {
|
|
bind(TitleMaker, toSelf())
|
|
bind(CompositionContainer, toSelf())
|
|
}
|
|
}
|
|
}
|