Kotlin × SpringBoot × MyBatisを使用しようとして、MyBatisGeneratorを使用しようしとしたら以下エラーで詰まりました。
エラー内容
In plugin 'com.arenagod.gradle.MybatisGenerator' type
'com.arenagod.gradle.MybatisGeneratorTask' property 'configFile'
is missing an input or output annotation.
原因
どうやら、Gradleのバージョン起因で7系だと動かないみたいです。
対策
代わりに以下をしようすることで解消できました。
plugins {
id("com.thinkimi.gradle.MybatisGenerator") version "2.4"
}