Skip to content

Commit fd3d1b3

Browse files
committed
Update index.html
#156
1 parent e9b3530 commit fd3d1b3

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

docs/index.html

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,12 +187,35 @@ <h3>Importing from Maven Central</h3>
187187
<pre><code>&lt;dependency&gt;
188188
&lt;groupId&gt;org.cicirello&lt;/groupId&gt;
189189
&lt;artifactId&gt;jpt&lt;/artifactId&gt;
190-
&lt;version&gt;2.6.1&lt;/version&gt;
190+
&lt;version&gt;3.0.0&lt;/version&gt;
191191
&lt;/dependency&gt;
192192
</code></pre>
193193
<p>Just replace the version number with your desired version of the library.</p>
194194
</section>
195195
<section>
196+
<h3>Java Modules</h3>
197+
<p>The library provides a Java module, org.cicirello.jpt. To use in your project, add the
198+
following to your module-info.java:</p>
199+
<pre><code>
200+
module your.module.name.here {
201+
requires org.cicirello.jpt;
202+
}
203+
</code></pre>
204+
<p>This module includes the org.cicirello.permutations and org.cicirello.sequences
205+
packages as well as their subpackages. See the <a href="https://jpt.cicirello.org/api">API documentation</a>
206+
for details.</p>
207+
<p>Beginning with version 3.0.0, randomization and other math utilities, and some
208+
generic utilities, have been moved to a pair of new
209+
libraries <a href="https://rho-mu.cicirello.org/">&rho;&mu;</a>
210+
and <a href="https://core.cicirello.org/">org.cicirello.core</a>, which are
211+
now dependencies of JavaPermutationTools. Your dependency manager (see previous section)
212+
will handle downloading these for you.</p>
213+
<p>To ease the transition of users of the library who may have been relying on those
214+
utilities, we have configured the module-info.java for the org.cicirello.jpt module to
215+
require these transitively so that your application should only need to
216+
require org.cicirello.jpt to access the functionality of those new modules.</p>
217+
</section>
218+
<section>
196219
<h3>Semantic Versioning</h3>
197220
<p>The JPT uses <a href="https://semver.org/">Semantic Versioning</a> with
198221
version numbers of the form: MAJOR.MINOR.PATCH, where differences in MAJOR

0 commit comments

Comments
 (0)