Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在maven中设置kotlin-maven-plugin?这是gradle脚本:
kotlin-maven-plugin
kapt{ arguments { arg("codegen.output", project.file('src/main/generated').path) arg("kapt.kotlin.generated", project.file('src/main/generated').path) } }
谢谢!
<annotationProcessorArgs> <processorArg> codegen.output=${project.basedir}/src/main/generated </processorArg> </annotationProcessorArgs>