Installation
KraftAdmin is distributed through Maven Central and can be installed using either Gradle or Maven.
Requirements
Before installing KraftAdmin, ensure your project uses:
| Requirement | Version |
|---|---|
| Java | 21+ |
| Kotlin | 2.1+ |
| Spring Boot | 3.5+ |
Latest Version
The latest stable release is:
{{ latestVersion }} The documentation automatically displays the latest published version.
Gradle (Kotlin DSL)
dependencies {
implementation("com.kraftadmin:kraftadmin:{{ latestVersion }}")
} Gradle (Groovy)
dependencies {
implementation 'com.kraftadmin:kraftadmin:{{ latestVersion }}'
} Maven
<dependency>
<groupId>com.kraftadmin</groupId>
<artifactId>kraftadmin</artifactId>
<version>{{ latestVersion }}</version>
</dependency> Snapshot Versions
For testing upcoming features, snapshot releases are available.
implementation("com.kraftadmin:kraftadmin:{{ snapshotVersion }}") Verify Installation
Create your first admin resource.
@KraftAdminResource
data class User(
@Id
val id: Long,
val name: String
) Start your application and navigate to:
http://localhost:8080/admin Next Steps
- Configure KraftAdmin
- Secure the dashboard
- Create your first resource