You can pull the artifacts of the Doma framework from the Maven central repository. We provide two artifacts, doma-core
and doma-processor
.
The doma-core
artifact is required at runtime and compile-time. The doma-processor
artifact provides annotation processors and is required at compile-time only.
The group id and artifact id of those artifacts are as follows:
- GroupId
org.seasar.doma
- ArtifactId
doma-core
- GroupId
org.seasar.doma
- ArtifactId
doma-processor
Write your build.gradle as follows:
dependencies {
implementation "org.seasar.doma:doma-core:2.51.1"
annotationProcessor "org.seasar.doma:doma-processor:2.51.1"
}
To simplify your build.script, we recommend that you use the Doma Compile Plugin.
See build.gradle in the simple-boilerplate repository as an example.
Use a newer version of IntelliJ IDEA, and then import your project as a Gradle project.
Generate eclipse setting files with Gradle, and then import your project into Eclipse. To generate the setting files, run gradle eclipse
.
To simplify your build.script, we recommend that you use the Doma Compile Plugin and the AptEclipsePlugin.
See build.gradle in the simple-boilerplate repository as an example.