0 votes
asked in MicroStream for Java by (220 points)

Compiling generates following message:

Detecting annotation processors on the compile classpath has been deprecated. Gradle 5.0 will ignore annotation processors on the compile classpath. The following annotation processors were detected on the compile classpath: 'one.microstream.entity.codegen.EntityProcessor' and 'one.microstream.wrapping.codegen.WrapperProcessor'.  Please add them to the annotation processor path instead. If you did not intend to use annotation processors, you can use the '-proc:none' compiler argument to ignore them.

I have in build.gradle
...
repositories {
    google()
    jcenter()
    maven {
    }
}
...
dependencies {
    ...
    implementation "one.microstream:storage.embedded:02.01.00-MS-GA"
    ...
}

1 Answer

0 votes
answered by (1k points)

Well I am not really experienced in Grade, as I am a maven user. But did you try also adding the EntityProcessor and WrapperProcessor to the processor path like said in the error message?

see also: https://stackoverflow.com/questions/50202843/gradle-deprecated-annotation-processor-warnings-for-lombok

dependencies {
    implementation "one.microstream:storage.embedded:02.01.00-MS-GA"
    annotationProcessor 'one.microstream.entity.codegen.EntityProcessor'
    // other dependencies...
}

Something like that maybe?

Regards, Frederik
Notes: Every question must be a separate forum post. Headline: Formulate your question shortly and precisely. Thank you!
Powered by Question2Answer
...