From cf8471e29c50ea5bfecd7c1ff8197a0e06b17168 Mon Sep 17 00:00:00 2001 From: ikpil Date: Sun, 27 Oct 2024 14:52:44 +0900 Subject: [PATCH] clean up - Add *.asmdef to prepare for Unity package creation --- .../UniNetty.Buffers/UniNetty.Buffers.asmdef | 16 ++++++++++ .../UniNetty.Codecs.Http.asmdef | 20 ++++++++++++ .../UniNetty.Codecs.Mqtt.asmdef | 19 ++++++++++++ .../UniNetty.Codecs.Redis.asmdef | 19 ++++++++++++ .../UniNetty.Codecs/UniNetty.Codecs.asmdef | 18 +++++++++++ .../UniNetty.Common/UniNetty.Common.asmdef | 16 ++++++++++ .../UniNetty.Handlers.asmdef | 19 ++++++++++++ .../UniNetty.Logging/UniNetty.Logging.asmdef | 14 +++++++++ .../UniNetty.Transport.asmdef | 17 ++++++++++ package.json | 31 +++++++++++++++++++ 10 files changed, 189 insertions(+) create mode 100644 Runtime/UniNetty.Buffers/UniNetty.Buffers.asmdef create mode 100644 Runtime/UniNetty.Codecs.Http/UniNetty.Codecs.Http.asmdef create mode 100644 Runtime/UniNetty.Codecs.Mqtt/UniNetty.Codecs.Mqtt.asmdef create mode 100644 Runtime/UniNetty.Codecs.Redis/UniNetty.Codecs.Redis.asmdef create mode 100644 Runtime/UniNetty.Codecs/UniNetty.Codecs.asmdef create mode 100644 Runtime/UniNetty.Common/UniNetty.Common.asmdef create mode 100644 Runtime/UniNetty.Handlers/UniNetty.Handlers.asmdef create mode 100644 Runtime/UniNetty.Logging/UniNetty.Logging.asmdef create mode 100644 Runtime/UniNetty.Transport/UniNetty.Transport.asmdef create mode 100644 package.json diff --git a/Runtime/UniNetty.Buffers/UniNetty.Buffers.asmdef b/Runtime/UniNetty.Buffers/UniNetty.Buffers.asmdef new file mode 100644 index 0000000..b8f826c --- /dev/null +++ b/Runtime/UniNetty.Buffers/UniNetty.Buffers.asmdef @@ -0,0 +1,16 @@ +{ + "name": "UniNetty.Buffers", + "rootNamespace": "UniNetty", + "references": [ + "UniNetty.Common" + ], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Runtime/UniNetty.Codecs.Http/UniNetty.Codecs.Http.asmdef b/Runtime/UniNetty.Codecs.Http/UniNetty.Codecs.Http.asmdef new file mode 100644 index 0000000..8f80e62 --- /dev/null +++ b/Runtime/UniNetty.Codecs.Http/UniNetty.Codecs.Http.asmdef @@ -0,0 +1,20 @@ +{ + "name": "UniNetty.Codecs.Http", + "rootNamespace": "UniNetty", + "references": [ + "UniNetty.Common", + "UniNetty.Buffers", + "UniNetty.Codecs", + "UniNetty.Handlers", + "UniNetty.Transport" + ], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Runtime/UniNetty.Codecs.Mqtt/UniNetty.Codecs.Mqtt.asmdef b/Runtime/UniNetty.Codecs.Mqtt/UniNetty.Codecs.Mqtt.asmdef new file mode 100644 index 0000000..e35c41f --- /dev/null +++ b/Runtime/UniNetty.Codecs.Mqtt/UniNetty.Codecs.Mqtt.asmdef @@ -0,0 +1,19 @@ +{ + "name": "UniNetty.Codecs.Mqtt", + "rootNamespace": "UniNetty", + "references": [ + "UniNetty.Common", + "UniNetty.Buffers", + "UniNetty.Codecs", + "UniNetty.Transport" + ], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Runtime/UniNetty.Codecs.Redis/UniNetty.Codecs.Redis.asmdef b/Runtime/UniNetty.Codecs.Redis/UniNetty.Codecs.Redis.asmdef new file mode 100644 index 0000000..83fe1fe --- /dev/null +++ b/Runtime/UniNetty.Codecs.Redis/UniNetty.Codecs.Redis.asmdef @@ -0,0 +1,19 @@ +{ + "name": "UniNetty.Codecs.Redis", + "rootNamespace": "UniNetty", + "references": [ + "UniNetty.Common", + "UniNetty.Buffers", + "UniNetty.Codecs", + "UniNetty.Transport" + ], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Runtime/UniNetty.Codecs/UniNetty.Codecs.asmdef b/Runtime/UniNetty.Codecs/UniNetty.Codecs.asmdef new file mode 100644 index 0000000..be02a34 --- /dev/null +++ b/Runtime/UniNetty.Codecs/UniNetty.Codecs.asmdef @@ -0,0 +1,18 @@ +{ + "name": "UniNetty.Codecs", + "rootNamespace": "UniNetty", + "references": [ + "UniNetty.Common", + "UniNetty.Buffers", + "UniNetty.Transport" + ], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Runtime/UniNetty.Common/UniNetty.Common.asmdef b/Runtime/UniNetty.Common/UniNetty.Common.asmdef new file mode 100644 index 0000000..123bd56 --- /dev/null +++ b/Runtime/UniNetty.Common/UniNetty.Common.asmdef @@ -0,0 +1,16 @@ +{ + "name": "UniNetty.Common", + "rootNamespace": "UniNetty", + "references": [ + "UniNetty.Logging" + ], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Runtime/UniNetty.Handlers/UniNetty.Handlers.asmdef b/Runtime/UniNetty.Handlers/UniNetty.Handlers.asmdef new file mode 100644 index 0000000..57e5fa7 --- /dev/null +++ b/Runtime/UniNetty.Handlers/UniNetty.Handlers.asmdef @@ -0,0 +1,19 @@ +{ + "name": "UniNetty.Handlers", + "rootNamespace": "UniNetty", + "references": [ + "UniNetty.Common", + "UniNetty.Buffers", + "UniNetty.Codecs", + "UniNetty.Transport" + ], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Runtime/UniNetty.Logging/UniNetty.Logging.asmdef b/Runtime/UniNetty.Logging/UniNetty.Logging.asmdef new file mode 100644 index 0000000..1991192 --- /dev/null +++ b/Runtime/UniNetty.Logging/UniNetty.Logging.asmdef @@ -0,0 +1,14 @@ +{ + "name": "UniNetty.Logging", + "rootNamespace": "UniNetty", + "references": [], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Runtime/UniNetty.Transport/UniNetty.Transport.asmdef b/Runtime/UniNetty.Transport/UniNetty.Transport.asmdef new file mode 100644 index 0000000..c7c3fc2 --- /dev/null +++ b/Runtime/UniNetty.Transport/UniNetty.Transport.asmdef @@ -0,0 +1,17 @@ +{ + "name": "UniNetty.Transport", + "rootNamespace": "UniNetty", + "references": [ + "UniNetty.Common", + "UniNetty.Buffers" + ], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false +} \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..864f9bd --- /dev/null +++ b/package.json @@ -0,0 +1,31 @@ +{ + "name": "com.ikpil.uninetty", + "displayName": "UniNetty", + "version": "0.0.1", + "unity": "2019.3", + "description": "UniNetty project - a port of DotNetty, an event-driven asynchronous network application framework", + "license": "MIT", + "author": "ikpil (https://github.com/ikpil/UniNetty)", + "keywords": [ + "netty", + "dotnetty", + "networking", + "protocols", + "server", + "game", + "gamedev", + "csharp", + "unity3d" + ], + "repository": { + "url": "https://github.com/ikpil/UniNetty.git", + "type": "git" + }, + "samples": [ + { + "displayName": "UniNetty Demo", + "description": "This sample demonstrates how to use UniNetty", + "path": "Samples~/UniNettyDemo" + } + ] +} \ No newline at end of file