Skip to content

Commit

Permalink
chore: Redirect 1.0.0-SNAPSHOT dokka
Browse files Browse the repository at this point in the history
  • Loading branch information
sya-ri committed Nov 30, 2023
1 parent e073306 commit 8ca08f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ tasks.named("dokkaHtml") {
}
}
doLast {
if (version.toString().endsWith("-SNAPSHOT").not()) {
if (version.toString().endsWith("-SNAPSHOT").not() || dokkaDir.listFiles().isEmpty()) {
dokkaDir.resolve("index.html").writeText(
"""
<!DOCTYPE html>
Expand Down

1 comment on commit 8ca08f3

@vercel
Copy link

@vercel vercel bot commented on 8ca08f3 Nov 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

kt-config – ./

kt-config-git-master-sya-ri.vercel.app
kt-config-sya-ri.vercel.app
ktconfig.s7a.dev

Please sign in to comment.