Updated docs

This commit is contained in:
amithkoujalgi 2025-04-19 00:23:27 +05:30
parent 9811d9f7fd
commit 43361ff271
No known key found for this signature in database
GPG Key ID: E29A37746AF94B70

View File

@ -36,7 +36,7 @@ const AddToYourProject = () => {
<div>Error: {error.message}</div> <div>Error: {error.message}</div>
) : releaseInfo ? ( ) : releaseInfo ? (
<> <>
<h3>Using Maven <code>pom.xml</code></h3> <h4>Using Maven <code>pom.xml</code></h4>
<CodeBlock className="language-xml"> <CodeBlock className="language-xml">
{`<dependency> {`<dependency>
<groupId>io.github.ollama4j</groupId> <groupId>io.github.ollama4j</groupId>
@ -44,13 +44,13 @@ const AddToYourProject = () => {
<version>${releaseInfo.name}</version> <version>${releaseInfo.name}</version>
</dependency>`} </dependency>`}
</CodeBlock> </CodeBlock>
<h3>Using Groovy-based <code>build.gradle</code></h3> <h4>Using Groovy-based <code>build.gradle</code></h4>
<CodeBlock className="language-groovy"> <CodeBlock className="language-groovy">
{`dependencies { {`dependencies {
implementation 'io.github.ollama4j:ollama4j:${releaseInfo.name}' implementation 'io.github.ollama4j:ollama4j:${releaseInfo.name}'
}`} }`}
</CodeBlock> </CodeBlock>
<h3>For Kotlin-based <code>build.gradle.kts</code></h3> <h4>For Kotlin-based <code>build.gradle.kts</code></h4>
<CodeBlock className="language-kotlin"> <CodeBlock className="language-kotlin">
{`dependencies { {`dependencies {
implementation("io.github.ollama4j:ollama4j:${releaseInfo.name}") implementation("io.github.ollama4j:ollama4j:${releaseInfo.name}")