snark/snark-html/build.gradle.kts

35 lines
1.1 KiB
Plaintext
Raw 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()
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")
api("org.jetbrains:markdown:0.5.2")
}
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" }
}