-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
87b4332
commit dbb219b
Showing
26 changed files
with
167 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
plugins { | ||
id("conventions") | ||
id("com.github.gmazzo.buildconfig") | ||
} | ||
|
||
buildConfig { | ||
buildConfigField("String", "VERSION", "\"${project.version}\"") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[versions] | ||
kapshot = "0.1.1" | ||
|
||
[libraries] | ||
kapshot-runtime = { module = "io.koalaql:kapshot-runtime", version.ref = "kapshot" } | ||
kapshot-plugin-gradle = { module = "io.koalaql:kapshot-plugin-gradle", version.ref = "kapshot" } | ||
|
||
[plugins] | ||
kapshot = { id = "io.koalaql.kapshot-plugin", version.ref = "kapshot" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
plugins { | ||
id("publish-plugin") | ||
} | ||
|
||
dependencies { | ||
implementation(libs.kapshot.plugin.gradle) | ||
implementation("io.koalaql:markout-plugin:${project.version}") | ||
} | ||
|
||
pluginBundle { | ||
website = "https://github.com/mfwgenerics/markout" | ||
vcsUrl = "https://github.com/mfwgenerics/markout.git" | ||
tags = listOf("kotlin", "markout", "markdown", "jvm", "documentation") | ||
} | ||
|
||
gradlePlugin { | ||
plugins { | ||
create("markoutPlugin") { | ||
id = "io.koalaql.markout-markdown" | ||
displayName = "Markout Markdown Plugin" | ||
description = "Plugin Support for Markout Markdown Generation and Code Capture" | ||
implementationClass = "io.koalaql.markout.markdown.GradlePlugin" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
dependencyResolutionManagement { | ||
versionCatalogs { | ||
create("libs") { | ||
from(files("../gradle/libs.versions.toml")) | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package io.koalaql.markout.markdown | ||
|
||
import io.koalaql.markout_markdown_plugin.BuildConfig | ||
import org.gradle.api.Plugin | ||
import org.gradle.api.Project | ||
|
||
class GradlePlugin: Plugin<Project> { | ||
override fun apply(target: Project) = with(target) { | ||
dependencies.add("api", "io.koalaql:markout-markdown:${BuildConfig.VERSION}") | ||
dependencies.add("api", "io.koalaql:markout-docusaurus:${BuildConfig.VERSION}") | ||
|
||
with(plugins) { | ||
apply("io.koalaql.markout") | ||
apply("io.koalaql.kapshot-plugin") | ||
} | ||
|
||
Unit | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ plugins { | |
|
||
dependencies { | ||
api(kotlin("reflect")) | ||
api(libs.kapshot.runtime) | ||
|
||
api("io.koalaql:markout") | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
dependencyResolutionManagement { | ||
versionCatalogs { | ||
create("libs") { | ||
from(files("../gradle/libs.versions.toml")) | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
const val MARKOUT_VERSION: String = "0.0.7" | ||
const val MARKOUT_VERSION: String = "0.0.9" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
includeBuild("build-logic") | ||
includeBuild("markout-plugin") | ||
includeBuild("markout-docusaurus-plugin") | ||
includeBuild("markout") | ||
includeBuild("markout-plugin") | ||
includeBuild("markout-markdown") | ||
includeBuild("markout-markdown-plugin") | ||
includeBuild("markout-docusaurus") | ||
includeBuild("markout-docusaurus-plugin") | ||
includeBuild("markout-github-workflows-kt") | ||
|
||
includeBuild("testing") | ||
|
||
include("readme") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
tasks.register("check") { | ||
dependsOn(":markdown-plugin:check") | ||
} |
Oops, something went wrong.