Building an application¶
Contents
Before You Start¶
Maven Central Repository¶
You can pull the jar file of the Doma framework from the Maven central repository. The group id and artifact id are as follows:
GroupId: | org.seasar.doma |
---|---|
ArtifactId: | doma |
See also: https://search.maven.org/artifact/org.seasar.doma/doma/
Build with Gradle¶
Write your build.gradle script, then run gradle build
.
To simplify your build.script, we recommend you use the Doma Compile Plugin.
See build.gradle in the simple-boilerplate repository as an example.
Build with IntelliJ IDEA¶
Use a newer version of IntelliJ IDEA, and then import your project as a Gradle project. To know how to import project, see Import template project.
Build with Eclipse¶
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 you use the Doma Compile Plugin and the AptEclipsePlugin.
See build.gradle in the simple-boilerplate repository as an example.