You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by bm...@apache.org on 2021/09/19 20:08:50 UTC

[shiro-site] 02/02: Add Buildr dependency layout

This is an automated email from the ASF dual-hosted git repository.

bmarwell pushed a commit to branch jbake
in repository https://gitbox.apache.org/repos/asf/shiro-site.git

commit 7e32153d304a08b10fa983611c655393e1ae5100
Author: Benjamin Marwell <bm...@apache.org>
AuthorDate: Sun Sep 19 22:10:00 2021 +0200

    Add Buildr dependency layout
---
 jbake/templates/macros/dependencies.ftl | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

diff --git a/jbake/templates/macros/dependencies.ftl b/jbake/templates/macros/dependencies.ftl
index 27b1408..3333f7a 100644
--- a/jbake/templates/macros/dependencies.ftl
+++ b/jbake/templates/macros/dependencies.ftl
@@ -65,6 +65,19 @@
       aria-selected="false"
     >Leiningen</button>
   </li>
+  <#-- Buildr -->
+  <li class="nav-item" role="presentation">
+    <button
+      class="nav-link"
+      id="buildr-${anchorId}-tab"
+      data-bs-toggle="tab"
+      data-bs-target="#buildr-${anchorId}"
+      type="button"
+      role="tab"
+      aria-controls="buildr-${anchorId}"
+      aria-selected="false"
+    >Buildr</button>
+  </li>
 </ul>
 
 <#-- tab contents -->
@@ -93,7 +106,6 @@
 </#list></code></pre>
   </div>
   <#-- sbt -->
-
   <div
     class="tab-pane fade"
     id="sbt-${anchorId}"
@@ -123,5 +135,15 @@
     <pre><code class='clojure language-clojure'><#list deps as dep>[${dep.g}/${dep.a} "${dep.v}"]
 </#list></code></pre>
   </div>
+  <#-- Buildr -->
+  <div
+    class="tab-pane fade"
+    id="buildr-${anchorId}"
+    role="tabpanel"
+    aria-labelledby="buildr-${anchorId}-tab"
+  >
+    <pre><code class='groovy language-groovy'><#list deps as dep>'${dep.g}:${dep.a}:${(dep.type)!"jar"}:${dep.v}'
+</#list></code></pre>
+  </div>
 </div>
 </#macro>