2022-06-30 20:51:01 +03:00
|
|
|
plugins {
|
2022-09-03 11:54:34 +03:00
|
|
|
id("space.kscience.gradle.jvm")
|
2022-06-30 20:51:01 +03:00
|
|
|
`maven-publish`
|
|
|
|
}
|
|
|
|
|
|
|
|
val dataforgeVersion: String by rootProject.extra
|
2022-09-03 11:54:34 +03:00
|
|
|
val ktorVersion = space.kscience.gradle.KScienceVersions.ktorVersion
|
2022-06-30 20:51:01 +03:00
|
|
|
|
2023-03-13 16:24:50 +03:00
|
|
|
kscience{
|
|
|
|
useContextReceivers()
|
|
|
|
}
|
|
|
|
|
2022-06-30 20:51:01 +03:00
|
|
|
dependencies {
|
|
|
|
api(projects.snarkCore)
|
|
|
|
|
2022-12-21 23:25:32 +03:00
|
|
|
api("org.jetbrains.kotlinx:kotlinx-html:0.8.0")
|
2022-06-30 20:51:01 +03:00
|
|
|
api("org.jetbrains.kotlin-wrappers:kotlin-css")
|
|
|
|
|
|
|
|
api("io.ktor:ktor-utils:$ktorVersion")
|
|
|
|
|
|
|
|
api("space.kscience:dataforge-io-yaml:$dataforgeVersion")
|
2023-03-13 16:24:50 +03:00
|
|
|
api("org.jetbrains:markdown:0.4.0")
|
2022-06-30 20:51:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
readme {
|
2022-09-03 11:54:34 +03:00
|
|
|
maturity = space.kscience.gradle.Maturity.EXPERIMENTAL
|
2022-06-30 20:51:01 +03:00
|
|
|
feature("data") { "Data-based processing. Instead of traditional layout-based" }
|
|
|
|
feature("layouts") { "Use custom layouts to represent a data tree" }
|
|
|
|
feature("parsers") { "Add custom file formats and parsers using DataForge dependency injection" }
|
|
|
|
feature("preprocessor") { "Preprocessing text files using templates" }
|
|
|
|
feature("metadata") { "Trademark DataForge metadata layering and transformations" }
|
|
|
|
feature("dynamic") { "Generating dynamic site using KTor server" }
|
|
|
|
feature("static") { "Generating static site" }
|
|
|
|
}
|