3. 依赖
首先,将以下依赖项添加到 classpath。
- Gradle
- Maven
annotationProcessor("io.micronaut.microstream:micronaut-microstream-annotations")
<annotationProcessorPaths>
<path>
<groupId>io.micronaut.microstream</groupId>
<artifactId>micronaut-microstream-annotations</artifactId>
</path>
</annotationProcessorPaths>
- Gradle
- Maven
implementation("io.micronaut.microstream:micronaut-microstream-annotations")
<dependency>
<groupId>io.micronaut.microstream</groupId>
<artifactId>micronaut-microstream-annotations</artifactId>
</dependency>
- Gradle
- Maven
implementation("io.micronaut.microstream:micronaut-microstream")
<dependency>
<groupId>io.micronaut.microstream</groupId>
<artifactId>micronaut-microstream</artifactId>
</dependency>