Browse Source

Add gitArchiveToMarkdown plugin and task

master
Edwin Jakobs 3 years ago
parent
commit
180d85bd69
  1. 7
      build.gradle.kts
  2. 8
      settings.gradle.kts

7
build.gradle.kts

@ -89,6 +89,7 @@ plugins {
alias(libs.plugins.kotlin.jvm) alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.shadow) alias(libs.plugins.shadow)
alias(libs.plugins.runtime) alias(libs.plugins.runtime)
alias(libs.plugins.gitarchive.tomarkdown).apply(false)
} }
repositories { repositories {
@ -191,6 +192,12 @@ runtime {
// ------------------------------------------------------------------------------------------------------------------ // // ------------------------------------------------------------------------------------------------------------------ //
tasks.register<org.openrndr.extra.gitarchiver.GitArchiveToMarkdown>("gitArchiveToMarkDown") {
historySize.set(20)
}
// ------------------------------------------------------------------------------------------------------------------ //
class Openrndr { class Openrndr {
val openrndrVersion = libs.versions.openrndr.get() val openrndrVersion = libs.versions.openrndr.get()
val orxVersion = libs.versions.orx.get() val orxVersion = libs.versions.orx.get()

8
settings.gradle.kts

@ -16,6 +16,7 @@ dependencyResolutionManagement {
alias("kotlin-jvm").toPluginId("org.jetbrains.kotlin.jvm").version("1.6.0") alias("kotlin-jvm").toPluginId("org.jetbrains.kotlin.jvm").version("1.6.0")
alias("shadow").toPluginId("com.github.johnrengelman.shadow").version("7.1.0") alias("shadow").toPluginId("com.github.johnrengelman.shadow").version("7.1.0")
alias("runtime").toPluginId("org.beryx.runtime").version("1.12.7") alias("runtime").toPluginId("org.beryx.runtime").version("1.12.7")
alias("gitarchive-tomarkdown").toPluginId("org.openrndr.extra.gitarchiver.tomarkdown").versionRef("orx")
alias("kotlin-script-runtime").to("org.jetbrains.kotlin", "kotlin-script-runtime").versionRef("kotlin") alias("kotlin-script-runtime").to("org.jetbrains.kotlin", "kotlin-script-runtime").versionRef("kotlin")
@ -42,3 +43,10 @@ dependencyResolutionManagement {
} }
} }
} }
pluginManagement {
repositories {
mavenLocal()
gradlePluginPortal()
}
}
Loading…
Cancel
Save