import { Callout, Tab, Tabs } from 'nextra-theme-docs';
We offer a public Maven repository for Lunar Client artifacts, hosted at https://repo.lunarclient.dev. Please note the TLD, .dev
, which is used for all of our developer-facing documentation.
Visiting the root of the repository in a web browser will redirect to this page, providing instructions on how to add the repository.
<Tabs items={['Maven', 'Gradle (Groovy)', 'Gradle (Kotlin)']}>
xml filename="pom.xml" <repositories> <repository> <id>lunarclient</id> <url>https://repo.lunarclient.dev</url> </repository> </repositories>
groovy filename="build.gradle" repositories { maven { name = 'lunarclient' url = 'https://repo.lunarclient.dev' } }
kotlin filename="build.gradle.kts" repositories { maven { name = "lunarclient" url = uri("https://repo.lunarclient.dev") } }
<Tabs items={['Maven', 'Gradle (Groovy)', 'Gradle (Kotlin)']}>
xml filename="pom.xml" <dependencies> <dependency> <groupId>com.lunarclient</groupId> <artifactId>apollo-api</artifactId> <version>1.1.6</version> </dependency> <!-- For Adventure support add the following dependency. --> <dependency> <groupId>com.lunarclient</groupId> <artifactId>apollo-extra-adventure4</artifactId> <version>1.1.6</version> </dependency> </dependencies>
```groovy filename="build.gradle"
dependencies {
compileOnly 'com.lunarclient:apollo-api:1.1.6'
// For Adventure support add the following dependency.
compileOnly 'com.lunarclient:apollo-extra-adventure4:1.1.6'
}
```
// For Adventure support add the following dependency.
compileOnly("com.lunarclient:apollo-extra-adventure4:1.1.6")
}
```
Artifacts required to build Apollo.
com.lunarclient:apollo-extra-adventure4
(source available in main Apollo repo, at https://github.com/LunarClient/Apollo)com.lunarclient:apollo-common
(source available in main Apollo repo, at https://github.com/LunarClient/Apollo)com.lunarclient:apollo-protos
(source available on Buf Schema Registry, at https://buf.build/lunarclient/apollo)
API / sample implementations for the legacy Lunar Client API.
com.lunarclient:BukkitImpl
(source available at https://github.com/LunarClient/BukkitImpl)com.lunarclient:bukkitapi
(source available at https://github.com/LunarClient/BukkitAPI)com.lunarclient:bukkitapi-nethandler
(source available at https://github.com/LunarClient/BukkitAPI-NetHandler)
Forks of various open source libraries we use and publish.
org.cadixdev:mercury
(source available at https://github.com/LunarClient/Mercury)org.cadixdev:mercurymixin
(source available at https://github.com/LunarClient/MercuryMixin)org.spongepowered:mixin
(source available at https://github.com/LunarClient/Mixin)com.eliotlash.molang:particleman
(source available at https://github.com/LunarClient/particleman)software.bernie.geckolib3:core
(source available at https://github.com/LunarClient/geckolib-core)