Skip to content

Commit

Permalink
[#1] Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
rm3l committed Nov 24, 2018
1 parent f5a9513 commit ef3ab4b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ by the official [DataNucleus Maven Plugin](https://github.com/datanucleus/datanu
* Bytecode Enhancement
* SchemaTool

Applying this plugin automatically applies the [Java Plugin](https://docs.gradle.org/current/userguide/java_plugin.html) (if not already the case)
and adds the following tasks to your project:

- `enhance` : to enhance classes from the main source set. Run automatically during the build since the [`classes`](https://docs.gradle.org/current/userguide/java_plugin.html#sec:java_tasks) task depends on it.
- `testEnhance` : to enhance classes from the test source set. Run automatically during the build since the [`testClasses`](https://docs.gradle.org/current/userguide/java_plugin.html#sec:java_tasks) task depends on it.
- `enhanceCheck` : to check the main classes for enhancement status
- `testEnhanceCheck` : to check the test classes for enhancement status

### Bytecode Enhancement

A noteworthy behavior of most JPA providers is to "enhance" the domain JPA classes.
Expand Down Expand Up @@ -116,8 +124,8 @@ datanucleus {
}
```

Applying this plugin provides an `enhance` task and a `testEnhance` task that support the same
set of enhancement options as in the official datanucleus-maven-plugin, i.e.:
All those tasks support the same set of enhancement options as in
the official datanucleus-maven-plugin, i.e.:

| Property | Default value | Description |
|-----------------|-------------------------|--------------|
Expand Down

0 comments on commit ef3ab4b

Please sign in to comment.