Skip to content

Commit

Permalink
Add Privacy Policy
Browse files Browse the repository at this point in the history
  • Loading branch information
madhead committed Jul 6, 2024
1 parent 06c48c6 commit f15b922
Show file tree
Hide file tree
Showing 4 changed files with 313 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ picocli = "4.7.3"

jacoco = "0.8.10"

asciidoctor = "4.0.2"

[libraries]
kotlin-bom = { module = "org.jetbrains.kotlin:kotlin-bom", version.ref = "kotlin" }
kotlinx-coroutines-bom = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-bom", version.ref = "kotlinx-coroutines" }
Expand Down Expand Up @@ -48,3 +50,6 @@ picocli = { module = "info.picocli:picocli", version.ref = "picocli" }
[bundles]
boms = ["kotlin-bom", "kotlinx-serialization-bom", "kotlinx-coroutines-bom", "log4j-bom", "junit-bom"]
ktor = ["ktor-server-netty", "ktor-server-metrics-micrometer", "ktor-server-auth", "koin-ktor", "ktor-serialization-kotlinx-json"]

[plugins]
asciidoctor = { id = "org.asciidoctor.jvm.convert", version.ref = "asciidoctor" }
14 changes: 14 additions & 0 deletions policies/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
plugins {
alias(libs.plugins.asciidoctor)
}

tasks {
asciidoctor {
setSourceDir(file("src/main/asciidoc"))
// sources {
// include("index.adoc")
// }
setOutputDir(layout.buildDirectory.asFile)
setBaseDir(file("src/main/asciidoc"))
}
}
Loading

0 comments on commit f15b922

Please sign in to comment.