Replies: 1 comment 6 replies
-
buildSrcが使えますね buildSrc/build.gradle.ktsに次のような記載をしてみてください。 plugins {
`kotlin-dsl`
}
repositories {
gradlePluginPortal()
}
dependencies {
implementation("com.h2database:h2:2.3.232") // Specify your driver
} |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Doma CodeGenプラグインはデータベースドライバーに依存するため、Gradleで利用する際には以下のような設定が必要です。
ただし、最新のGradleでは buildscript ブロックの使用が非推奨となりますので、何らかの改善案がありますか?
Beta Was this translation helpful? Give feedback.
All reactions