11---
22sidebar_position : 2
33---
4+ import Tabs from '@theme/Tabs ';
5+ import TabItem from '@theme/TabItem ';
6+ import CodeBlock from '@theme/CodeBlock ';
7+ import CodeSpringwolfGroovy from '!!raw-loader!./snippets/_ springwolf_groovy.md';
8+ import CodeSpringwolfMaven from '!!raw-loader!./snippets/_ springwolf_maven.md';
49
510# Quickstart
611
@@ -10,33 +15,14 @@ sidebar_position: 2
1015
1116Add the following dependencies:
1217
13- ### [ Groovy] ( #tab/groovy-dependencies )
14- ``` groovy
15- dependencies {
16- // Provides the documentation API
17- implementation 'io.github.springwolf:springwolf-kafka:0.8.0'
18-
19- // Provides the UI - optional (recommended)
20- runtimeOnly 'io.github.springwolf:springwolf-ui:0.5.0'
21- }
22- ```
23- ### [ Maven] ( #tab/maven-dependencies )
24- ``` xml
25- <dependencies >
26- <!-- Provides the documentation API -->
27- <dependency >
28- <groupId >io.github.springwolf</groupId >
29- <artifactId >springwolf-kafka</artifactId >
30- <version >0.8.0</version >
31- </dependency >
32- <!-- Provides the UI - optional (recommended) -->
33- <dependency >
34- <groupId >io.github.springwolf</groupId >
35- <artifactId >springwolf-ui</artifactId >
36- <version >0.5.0</version >
37- </dependency >
38- </dependencies >
39- ```
18+ <Tabs >
19+ <TabItem value =" Groovy " label =" Groovy " default >
20+ <CodeBlock language="groovy">{CodeSpringwolfGroovy}</CodeBlock>
21+ </TabItem >
22+ <TabItem value =" Maven " label =" Maven " >
23+ <CodeBlock language="xml">{CodeSpringwolfMaven}</CodeBlock>
24+ </TabItem >
25+ </Tabs >
4026
4127## Configuration Class
4228
0 commit comments