Hi there, I was able to make some tests with `@opt...
# arrow
j
Hi there, I was able to make some tests with
@optics
with the gradle plugin and I love it. However, I also would like to have the code generation working with Maven. Is there any plugin that does that already and if not, are there any plans to make a Maven plugin?
s
It seems it's not supported by Google KSP itself, but there is a external Google KSP integration into Maven. https://github.com/Dyescape/kotlin-maven-symbol-processing
j
@simon.vergauwen You just made my day! It works! This is the key combination that just worked for me!
Copy code
<dependency>
    <groupId>com.dyescape</groupId>
    <artifactId>kotlin-maven-symbol-processing</artifactId>
    <version>1.2</version>
</dependency>
<dependency>
    <groupId>io.arrow-kt</groupId>
    <artifactId>arrow-optics-ksp-plugin</artifactId>
    <version>1.1.4-rc.3</version>
</dependency>
thanks!
s
Awesome, thanks for sharing & my pleasure. Im going to add this to the docs ☺️