Skip to main content
Version: Next

Setup

This section covers the necessary configuration steps to use this library.

build.gradle

1. Add the KSP Plugin

plugins {
id("com.google.devtools.ksp") version "2.0.0-1.0.21"
}

2. Add Library Dependencies

val kdslVersion = "1.x.x" // Specify the version of the library you want to use.

dependencies {
implementation("io.github.cares0:rest-docs-kdsl-ksp:$kdslVersion")
ksp("io.github.cares0:rest-docs-kdsl-ksp:$kdslVersion")
}

Compatibility Matrix

Library VersionKotlin VersionKSP VersionSpring REST Docs Version
1.0.42.0.02.0.0-1.0.213.0.1
1.0.52.0.02.0.0-1.0.213.0.1

Version 1.0.4 is the minimum version required for this library.