The build is not executed without adding without adding commons-configuration, so added this dependency in build script configuration
to execute it successfully.
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'commons-configuration:commons-configuration:1.10'
}
}
plugins {
id 'org.jbake.site' version '5.5.0'
}
bakeInit {
template = 'freemarker'
}
and build executed without any failure, but the template are not getting generated in the JBake folder

but it seems template's are downloaded and extracted in temp folder

so issue seems to be in init.groovy

`