From 20ac888d965a005db7d4a447c20d93893e59725f Mon Sep 17 00:00:00 2001 From: Robinson Date: Sun, 2 May 2021 22:42:20 +0200 Subject: [PATCH] JPMS support --- src9/dorkbox/dns/EmptyClass.java | 24 +++++++++++++++++++ src9/dorkbox/dns/dns/EmptyClass.java | 24 +++++++++++++++++++ .../dorkbox/dns/dns/constants/EmptyClass.java | 24 +++++++++++++++++++ .../dns/dns/exceptions/EmptyClass.java | 24 +++++++++++++++++++ src9/dorkbox/dns/dns/records/EmptyClass.java | 24 +++++++++++++++++++ src9/module-info.java | 8 +++++++ 6 files changed, 128 insertions(+) create mode 100644 src9/dorkbox/dns/EmptyClass.java create mode 100644 src9/dorkbox/dns/dns/EmptyClass.java create mode 100644 src9/dorkbox/dns/dns/constants/EmptyClass.java create mode 100644 src9/dorkbox/dns/dns/exceptions/EmptyClass.java create mode 100644 src9/dorkbox/dns/dns/records/EmptyClass.java diff --git a/src9/dorkbox/dns/EmptyClass.java b/src9/dorkbox/dns/EmptyClass.java new file mode 100644 index 0000000..fba73a9 --- /dev/null +++ b/src9/dorkbox/dns/EmptyClass.java @@ -0,0 +1,24 @@ +/* + * 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.dns; + +/** + * Required for intellij to not complain regarding `module-info` for a multi-release jar. + * This file is completely ignored by the gradle build process + */ +public +class EmptyClass {} diff --git a/src9/dorkbox/dns/dns/EmptyClass.java b/src9/dorkbox/dns/dns/EmptyClass.java new file mode 100644 index 0000000..54ece8c --- /dev/null +++ b/src9/dorkbox/dns/dns/EmptyClass.java @@ -0,0 +1,24 @@ +/* + * 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.dns.dns; + +/** + * Required for intellij to not complain regarding `module-info` for a multi-release jar. + * This file is completely ignored by the gradle build process + */ +public +class EmptyClass {} diff --git a/src9/dorkbox/dns/dns/constants/EmptyClass.java b/src9/dorkbox/dns/dns/constants/EmptyClass.java new file mode 100644 index 0000000..ab40c34 --- /dev/null +++ b/src9/dorkbox/dns/dns/constants/EmptyClass.java @@ -0,0 +1,24 @@ +/* + * 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.dns.dns.constants; + +/** + * Required for intellij to not complain regarding `module-info` for a multi-release jar. + * This file is completely ignored by the gradle build process + */ +public +class EmptyClass {} diff --git a/src9/dorkbox/dns/dns/exceptions/EmptyClass.java b/src9/dorkbox/dns/dns/exceptions/EmptyClass.java new file mode 100644 index 0000000..be0a056 --- /dev/null +++ b/src9/dorkbox/dns/dns/exceptions/EmptyClass.java @@ -0,0 +1,24 @@ +/* + * 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.dns.dns.exceptions; + +/** + * Required for intellij to not complain regarding `module-info` for a multi-release jar. + * This file is completely ignored by the gradle build process + */ +public +class EmptyClass {} diff --git a/src9/dorkbox/dns/dns/records/EmptyClass.java b/src9/dorkbox/dns/dns/records/EmptyClass.java new file mode 100644 index 0000000..bffee40 --- /dev/null +++ b/src9/dorkbox/dns/dns/records/EmptyClass.java @@ -0,0 +1,24 @@ +/* + * 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.dns.dns.records; + +/** + * Required for intellij to not complain regarding `module-info` for a multi-release jar. + * This file is completely ignored by the gradle build process + */ +public +class EmptyClass {} diff --git a/src9/module-info.java b/src9/module-info.java index 54b1f5e..c6f3136 100644 --- a/src9/module-info.java +++ b/src9/module-info.java @@ -1,5 +1,13 @@ module dorkbox.dns { + exports dorkbox.dns; + exports dorkbox.dns.dns.constants; + exports dorkbox.dns.dns.exceptions; + exports dorkbox.dns.dns.records; + requires dorkbox.netutil; requires dorkbox.utilities; requires dorkbox.updates; + + requires io.netty.all; + requires org.slf4j; }