snark/snark-html/build.gradle.kts

38 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2022-06-30 20:51:01 +03:00
plugins {
2023-11-27 10:00:55 +03:00
id("space.kscience.gradle.mpp")
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{
2023-11-27 10:00:55 +03:00
jvm()
2024-04-30 19:00:37 +03:00
useSerialization()
2023-03-13 16:24:50 +03:00
useContextReceivers()
2023-11-27 10:00:55 +03:00
commonMain{
api(projects.snarkCore)
2022-06-30 20:51:01 +03:00
2023-11-27 10:00:55 +03:00
api(spclibs.kotlinx.html)
api("org.jetbrains.kotlin-wrappers:kotlin-css")
2022-06-30 20:51:01 +03:00
2023-11-27 10:00:55 +03:00
api("io.ktor:ktor-http:$ktorVersion")
api("space.kscience:dataforge-io-yaml:$dataforgeVersion")
2024-04-28 15:39:56 +03:00
api("org.jetbrains:markdown:0.7.0")
api("org.freemarker:freemarker:2.3.32")
2023-11-27 10:00:55 +03:00
}
2022-06-30 20:51:01 +03:00
}
2023-11-27 10:00:55 +03:00
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" }
}