diff --git a/core/src/main/java/module-info.java b/core/src/main/java/module-info.java new file mode 100644 index 0000000..96ac467 --- /dev/null +++ b/core/src/main/java/module-info.java @@ -0,0 +1,18 @@ +/** + * The core JNoise module. + * + * Requires JSpecify. + */ +module de.articdive.jnoise.core { + exports de.articdive.jnoise.core.api.functions; + exports de.articdive.jnoise.core.api.modifiers; + exports de.articdive.jnoise.core.api.modules; + exports de.articdive.jnoise.core.api.noisegen; + exports de.articdive.jnoise.core.api.pipeline; + exports de.articdive.jnoise.core.api.transformers; + + exports de.articdive.jnoise.core.util; + exports de.articdive.jnoise.core.util.vectors; + + requires transitive org.jspecify; +} diff --git a/generators/src/main/java/module-info.java b/generators/src/main/java/module-info.java new file mode 100644 index 0000000..7e8d120 --- /dev/null +++ b/generators/src/main/java/module-info.java @@ -0,0 +1,23 @@ +/** + * The "generators" JNoise module. + * + * Requires the core JNoise module. + */ +module de.articdive.jnoise.generators { + exports de.articdive.jnoise.generators.noise_parameters.distance_functions; + exports de.articdive.jnoise.generators.noise_parameters.fade_functions; + exports de.articdive.jnoise.generators.noise_parameters.interpolation; + exports de.articdive.jnoise.generators.noise_parameters.return_type_functions; + exports de.articdive.jnoise.generators.noise_parameters.simplex_variants; + + exports de.articdive.jnoise.generators.noisegen.constant; + exports de.articdive.jnoise.generators.noisegen.opensimplex; + exports de.articdive.jnoise.generators.noisegen.pattern; + exports de.articdive.jnoise.generators.noisegen.perlin; + exports de.articdive.jnoise.generators.noisegen.random.gaussian; + exports de.articdive.jnoise.generators.noisegen.random.white; + exports de.articdive.jnoise.generators.noisegen.value; + exports de.articdive.jnoise.generators.noisegen.worley; + + requires transitive de.articdive.jnoise.core; +} \ No newline at end of file diff --git a/modifiers/src/main/java/module-info.java b/modifiers/src/main/java/module-info.java new file mode 100644 index 0000000..8a93369 --- /dev/null +++ b/modifiers/src/main/java/module-info.java @@ -0,0 +1,12 @@ +/** + * The "modifiers" JNoise module. + * + * Requires the core JNoise module. + */ +module de.articdive.jnoise.modifiers { + exports de.articdive.jnoise.modifiers.absolute_value; + exports de.articdive.jnoise.modifiers.clamp; + exports de.articdive.jnoise.modifiers.inverter; + + requires transitive de.articdive.jnoise.core; +} diff --git a/modules/src/main/java/module-info.java b/modules/src/main/java/module-info.java new file mode 100644 index 0000000..f7e05bf --- /dev/null +++ b/modules/src/main/java/module-info.java @@ -0,0 +1,14 @@ +/** + * The "modules" JNoise module. + * + * Requires the core JNoise module. + */ +module de.articdive.jnoise.modules { + exports de.articdive.jnoise.modules.blend; + exports de.articdive.jnoise.modules.combination; + exports de.articdive.jnoise.modules.octavation; + exports de.articdive.jnoise.modules.octavation.fractal_functions; + exports de.articdive.jnoise.modules.selection; + + requires transitive de.articdive.jnoise.core; +} diff --git a/pipeline/src/main/java/module-info.java b/pipeline/src/main/java/module-info.java new file mode 100644 index 0000000..c728480 --- /dev/null +++ b/pipeline/src/main/java/module-info.java @@ -0,0 +1,15 @@ +/** + * The "pipeline" JNoise module. + * + * Requires the "core", "transformers", "generators", + * "modules" and "modifiers" JNoise module. + */ +module de.articdive.jnoise.pipeline { + exports de.articdive.jnoise.pipeline; + + requires transitive de.articdive.jnoise.core; + requires transitive de.articdive.jnoise.transformers; + requires transitive de.articdive.jnoise.generators; + requires transitive de.articdive.jnoise.modules; + requires transitive de.articdive.jnoise.modifiers; +} diff --git a/transformers/src/main/java/module-info.java b/transformers/src/main/java/module-info.java new file mode 100644 index 0000000..83e46cb --- /dev/null +++ b/transformers/src/main/java/module-info.java @@ -0,0 +1,11 @@ +/** + * The "transformers" JNoise module. + * + * Requires the core JNoise module. + */ +module de.articdive.jnoise.transformers { + exports de.articdive.jnoise.transformers.domain_warp; + exports de.articdive.jnoise.transformers.scale; + + requires transitive de.articdive.jnoise.core; +} \ No newline at end of file