From fcc3d82e51babf248cc0fa231c01be8bdcb8441b Mon Sep 17 00:00:00 2001 From: Robinson Date: Tue, 24 Jan 2023 18:27:47 +0100 Subject: [PATCH] added JPMS MRJAR support --- src9/dorkbox/cabParser/EmptyClass.java | 23 +++++++++++++++++++ .../cabParser/decompress/EmptyClass.java | 23 +++++++++++++++++++ .../cabParser/decompress/lzx/EmptyClass.java | 23 +++++++++++++++++++ .../cabParser/decompress/none/EmptyClass.java | 23 +++++++++++++++++++ .../cabParser/decompress/zip/EmptyClass.java | 23 +++++++++++++++++++ .../cabParser/extractor/EmptyClass.java | 23 +++++++++++++++++++ .../cabParser/structure/EmptyClass.java | 23 +++++++++++++++++++ src9/module-info.java | 16 +++++++++++++ 8 files changed, 177 insertions(+) create mode 100644 src9/dorkbox/cabParser/EmptyClass.java create mode 100644 src9/dorkbox/cabParser/decompress/EmptyClass.java create mode 100644 src9/dorkbox/cabParser/decompress/lzx/EmptyClass.java create mode 100644 src9/dorkbox/cabParser/decompress/none/EmptyClass.java create mode 100644 src9/dorkbox/cabParser/decompress/zip/EmptyClass.java create mode 100644 src9/dorkbox/cabParser/extractor/EmptyClass.java create mode 100644 src9/dorkbox/cabParser/structure/EmptyClass.java create mode 100644 src9/module-info.java diff --git a/src9/dorkbox/cabParser/EmptyClass.java b/src9/dorkbox/cabParser/EmptyClass.java new file mode 100644 index 0000000..8fde055 --- /dev/null +++ b/src9/dorkbox/cabParser/EmptyClass.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 dorkbox, llc + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package dorkbox.cabParser; + +/** + * Required for intellij to not complain regarding `module-info` for a multi-release jar + */ +public +class EmptyClass {} diff --git a/src9/dorkbox/cabParser/decompress/EmptyClass.java b/src9/dorkbox/cabParser/decompress/EmptyClass.java new file mode 100644 index 0000000..5f83f3b --- /dev/null +++ b/src9/dorkbox/cabParser/decompress/EmptyClass.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 dorkbox, llc + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package dorkbox.cabParser.decompress; + +/** + * Required for intellij to not complain regarding `module-info` for a multi-release jar + */ +public +class EmptyClass {} diff --git a/src9/dorkbox/cabParser/decompress/lzx/EmptyClass.java b/src9/dorkbox/cabParser/decompress/lzx/EmptyClass.java new file mode 100644 index 0000000..2f41aeb --- /dev/null +++ b/src9/dorkbox/cabParser/decompress/lzx/EmptyClass.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 dorkbox, llc + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package dorkbox.cabParser.decompress.lzx; + +/** + * Required for intellij to not complain regarding `module-info` for a multi-release jar + */ +public +class EmptyClass {} diff --git a/src9/dorkbox/cabParser/decompress/none/EmptyClass.java b/src9/dorkbox/cabParser/decompress/none/EmptyClass.java new file mode 100644 index 0000000..fe3f8af --- /dev/null +++ b/src9/dorkbox/cabParser/decompress/none/EmptyClass.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 dorkbox, llc + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package dorkbox.cabParser.decompress.none; + +/** + * Required for intellij to not complain regarding `module-info` for a multi-release jar + */ +public +class EmptyClass {} diff --git a/src9/dorkbox/cabParser/decompress/zip/EmptyClass.java b/src9/dorkbox/cabParser/decompress/zip/EmptyClass.java new file mode 100644 index 0000000..4de1f93 --- /dev/null +++ b/src9/dorkbox/cabParser/decompress/zip/EmptyClass.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 dorkbox, llc + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package dorkbox.cabParser.decompress.zip; + +/** + * Required for intellij to not complain regarding `module-info` for a multi-release jar + */ +public +class EmptyClass {} diff --git a/src9/dorkbox/cabParser/extractor/EmptyClass.java b/src9/dorkbox/cabParser/extractor/EmptyClass.java new file mode 100644 index 0000000..a6090f1 --- /dev/null +++ b/src9/dorkbox/cabParser/extractor/EmptyClass.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 dorkbox, llc + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package dorkbox.cabParser.extractor; + +/** + * Required for intellij to not complain regarding `module-info` for a multi-release jar + */ +public +class EmptyClass {} diff --git a/src9/dorkbox/cabParser/structure/EmptyClass.java b/src9/dorkbox/cabParser/structure/EmptyClass.java new file mode 100644 index 0000000..329ea7b --- /dev/null +++ b/src9/dorkbox/cabParser/structure/EmptyClass.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 dorkbox, llc + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package dorkbox.cabParser.structure; + +/** + * Required for intellij to not complain regarding `module-info` for a multi-release jar + */ +public +class EmptyClass {} diff --git a/src9/module-info.java b/src9/module-info.java new file mode 100644 index 0000000..61b008c --- /dev/null +++ b/src9/module-info.java @@ -0,0 +1,16 @@ +module com.dorkbox.cab_parser { + exports dorkbox.cabParser; + exports dorkbox.cabParser.decompress; + exports dorkbox.cabParser.decompress.lzx; + exports dorkbox.cabParser.decompress.none; + exports dorkbox.cabParser.decompress.zip; + exports dorkbox.cabParser.extractor; + exports dorkbox.cabParser.structure; + + + requires transitive dorkbox.bytes; + requires transitive dorkbox.updates; + requires transitive dorkbox.utilities; + + requires transitive kotlin.stdlib; +}