Skip to content

Commit 0149ecf

Browse files
committed
Poslish documents
1 parent bb1e1d3 commit 0149ecf

File tree

2 files changed

+22
-5
lines changed

2 files changed

+22
-5
lines changed

docs/annotation-processing.rst

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ doma.config.path
7474
Setting options in Gradle
7575
=========================
7676

77-
- Use `the compilerArgs property
78-
<https://docs.gradle.org/5.0/dsl/org.gradle.api.tasks.compile.CompileOptions.html#org.gradle.api.tasks.compile.CompileOptions:compilerArgs>`_
77+
Use `the compilerArgs property
78+
<https://docs.gradle.org/5.0/dsl/org.gradle.api.tasks.compile.CompileOptions.html#org.gradle.api.tasks.compile.CompileOptions:compilerArgs>`_:
7979

8080
.. code-block:: groovy
8181
@@ -94,8 +94,25 @@ In the case, the options written in build.gradle are used.
9494
Setting options in Eclipse
9595
==========================
9696

97-
Generate eclipse setting files
98-
by using the Gradle plugin `com.diffplug.eclipse.apt<https://plugins.gradle.org/plugin/com.diffplug.eclipse.apt>`_.
97+
Use the Gradle plugin `com.diffplug.eclipse.apt
98+
<https://plugins.gradle.org/plugin/com.diffplug.eclipse.apt>`_
99+
and the processorArgs property:
100+
101+
.. code-block:: groovy
102+
103+
plugins {
104+
id 'com.diffplug.eclipse.apt' version '3.22.0'
105+
}
106+
107+
compileJava {
108+
aptOptions {
109+
processorArgs = [
110+
'doma.dao.subpackage' : 'impl', 'doma.dao.suffix' : 'Impl'
111+
]
112+
}
113+
}
114+
115+
When you run ``gradle eclipse``, eclipse setting files are generated.
99116

100117
Setting options with configuration file
101118
=======================================

docs/development.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Build from the Command Line
3333
Format the Source Code
3434
======================
3535

36-
We use `google-java-format`_ 1.6 for code formatting.
36+
We use `google-java-format`_ 1.7 for code formatting.
3737

3838
Command Line
3939
------------

0 commit comments

Comments
 (0)