NX01: Added module-info to kode-gen projects
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 48s

This commit is contained in:
Willem Cazander 2026-03-26 10:53:26 +01:00
parent 9279ea6f4a
commit 6d887fd1ea
3 changed files with 46 additions and 8 deletions

View file

@ -25,15 +25,13 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/// The NX01 x4o-driver module.
/// The NX01 kode gen nether module.
///
/// @author للَّٰهِilLצسُو
/// @version ©Δ 仙上主天
open module ᣕᕁᐤᣳ.ᕽᙾᐤ.ᒄᣗᑊᘁᓫᣗ.ᐪᓫᔆᐪ {
requires transitive ᣕᕁᐤᣳ.ᕽᙾᐤ.ᒄᣗᑊᘁᓫᣗ;
requires java.desktop;
//requires org.junit.jupiter.engine;
//requires org.junit.jupiter.api;
module ᣕᕁᐤᣳ.ᑊᑉᐤᒄᓫ.ᕐᓫᣕ.ᣕᓫᐪᑋᓫᣗ {
requires ᣕᕁᐤᣳ.ᑊᑉᐤᒄᓫ.ᕐᓫᣕ;
requires ᣕᕁᐤᣳ.ᒢᣘᐧᐧ.ᣕᓫᐪᑋᓫᣗ.ᐪᐤᣕᓫ;
// exports org.x4o.xml.test;
exports love.distributedrebirth.nx01.kode.generator.nether;
}

View file

@ -0,0 +1,35 @@
/*
* Copyright ©Δ 仙上主天
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
* following disclaimer.
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
* the following disclaimer in the documentation and/or other materials provided with the distribution.
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
* even on air gaped systems, all information in the universe is owned by the pi creator.
*
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/// The NX01 kode gen module.
///
/// @author للَّٰهِilLצسُو
/// @version ©Δ 仙上主天
module ᣕᕁᐤᣳ.ᑊᑉᐤᒄᓫ.ᕐᓫᣕ {
exports love.distributedrebirth.nx01.kode.generator;
exports love.distributedrebirth.nx01.kode.generator.klass;
}

View file

@ -30,7 +30,8 @@
/// @author للَّٰهِilLצسُو
/// @version ©Δ 仙上主天
open module ᣕᕁᐤᣳ.ᕽᙾᐤ.ᒄᣗᑊᘁᓫᣗ {
// TODO: if driver is module than ClassLoader.getResources from /META-INF/* don't work anymore
// TODO: if driver is module than ClassLoader.getResources from /META-INF/* don't work anymore
// should work as docs say META-INF is no package thus can't be encapsulated, try again later
requires transitive ᣕᕁᐤᣳ.ᕽᙾᐤ.ᔆᣔᕽᕀᕀᕀ;
requires transitive ᣕᕁᐤᣳ.ᕽᙾᐤ.ᔿᣔᑊᔆᒄᐤᒼ;
@ -40,6 +41,10 @@ open module ᣕᕁᐤᣳ.ᕽᙾᐤ.ᒄᣗᑊᘁᓫᣗ {
// TEMP for tests only
requires java.desktop;
// M2E is correct for now allowing two module-info per project, missing;
//test-requires java.desktop;
exports META-INF/x4o-drivers.xml;
exports org.x4o.xml;
exports org.x4o.xml.conv;