From 8e5c63d035ef44a269b8c43430f43f5c8eebfb63 Mon Sep 17 00:00:00 2001 From: Ignat Beresnev Date: Fri, 10 Nov 2023 11:46:54 +0100 Subject: Restructure the project to utilize included builds (#3174) * Refactor and simplify artifact publishing * Update Gradle to 8.4 * Refactor and simplify convention plugins and build scripts Fixes #3132 --------- Co-authored-by: Adam <897017+aSemy@users.noreply.github.com> Co-authored-by: Oleg Yukhnevich --- .../src/main/resources/dokka/templates/base.ftl | 44 ---------------------- .../resources/dokka/templates/includes/footer.ftl | 7 ---- .../resources/dokka/templates/includes/header.ftl | 31 --------------- .../dokka/templates/includes/page_metadata.ftl | 6 --- .../templates/includes/source_set_selector.ftl | 9 ----- 5 files changed, 97 deletions(-) delete mode 100644 plugins/base/src/main/resources/dokka/templates/base.ftl delete mode 100644 plugins/base/src/main/resources/dokka/templates/includes/footer.ftl delete mode 100644 plugins/base/src/main/resources/dokka/templates/includes/header.ftl delete mode 100644 plugins/base/src/main/resources/dokka/templates/includes/page_metadata.ftl delete mode 100644 plugins/base/src/main/resources/dokka/templates/includes/source_set_selector.ftl (limited to 'plugins/base/src/main/resources/dokka/templates') diff --git a/plugins/base/src/main/resources/dokka/templates/base.ftl b/plugins/base/src/main/resources/dokka/templates/base.ftl deleted file mode 100644 index 0311f9f8..00000000 --- a/plugins/base/src/main/resources/dokka/templates/base.ftl +++ /dev/null @@ -1,44 +0,0 @@ -<#import "includes/page_metadata.ftl" as page_metadata> -<#import "includes/header.ftl" as header> -<#import "includes/footer.ftl" as footer> - - - - - <@page_metadata.display/> - <@template_cmd name="pathToRoot"> - - <#-- This script doesn't need to be there but it is nice to have - since app in dark mode doesn't 'blink' (class is added before it is rendered) --> - - <#-- Resources (scripts, stylesheets) are handled by Dokka. - Use customStyleSheets and customAssets to change them. --> - <@resources/> - - -
- <@header.display/> -
- -
- <@content/> - <@footer.display/> -
-
-
- - \ No newline at end of file diff --git a/plugins/base/src/main/resources/dokka/templates/includes/footer.ftl b/plugins/base/src/main/resources/dokka/templates/includes/footer.ftl deleted file mode 100644 index 461a8162..00000000 --- a/plugins/base/src/main/resources/dokka/templates/includes/footer.ftl +++ /dev/null @@ -1,7 +0,0 @@ -<#macro display> - - \ No newline at end of file diff --git a/plugins/base/src/main/resources/dokka/templates/includes/header.ftl b/plugins/base/src/main/resources/dokka/templates/includes/header.ftl deleted file mode 100644 index d399e633..00000000 --- a/plugins/base/src/main/resources/dokka/templates/includes/header.ftl +++ /dev/null @@ -1,31 +0,0 @@ -<#import "source_set_selector.ftl" as source_set_selector> -<#macro display> - - diff --git a/plugins/base/src/main/resources/dokka/templates/includes/page_metadata.ftl b/plugins/base/src/main/resources/dokka/templates/includes/page_metadata.ftl deleted file mode 100644 index 7cab4582..00000000 --- a/plugins/base/src/main/resources/dokka/templates/includes/page_metadata.ftl +++ /dev/null @@ -1,6 +0,0 @@ -<#macro display> - ${pageName} - <@template_cmd name="pathToRoot"> - - - diff --git a/plugins/base/src/main/resources/dokka/templates/includes/source_set_selector.ftl b/plugins/base/src/main/resources/dokka/templates/includes/source_set_selector.ftl deleted file mode 100644 index 2d848071..00000000 --- a/plugins/base/src/main/resources/dokka/templates/includes/source_set_selector.ftl +++ /dev/null @@ -1,9 +0,0 @@ -<#macro display> - <#if sourceSets?has_content> -
- <#list sourceSets as ss> - - -
- - -- cgit