Skip to content

Commit

Permalink
feat(plugins/qqhelloworldplugin/): 依赖KonataPlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
yiyungent committed Jan 14, 2023
1 parent 23aaf86 commit 65ac9d4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
1 change: 0 additions & 1 deletion plugins/QQHelloWorldPlugin/QQHelloWorldPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using Konata.Core;
using Konata.Core.Events.Model;
using Konata.Core.Interfaces.Api;
using QQBotHub.Sdk.IPlugins;

namespace QQHelloWorldPlugin
{
Expand Down
11 changes: 1 addition & 10 deletions plugins/QQHelloWorldPlugin/QQHelloWorldPlugin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,7 @@
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.2.0">
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
</ItemGroup>

<!-- 方便开发debug,与发布到nuget -->
<ItemGroup Condition="'$(Configuration)' == 'Release'">
<PackageReference Include="QQBotHub.Sdk" Version="0.1.0">
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup Condition="'$(Configuration)' == 'Debug'">
<ProjectReference Include="..\..\src\QQBotHub.Sdk\QQBotHub.Sdk.csproj">
<ProjectReference Include="..\KonataPlugin\KonataPlugin.csproj">
<Private>false</Private>
<ExcludeAssets>runtime</ExcludeAssets>
</ProjectReference>
Expand Down
2 changes: 1 addition & 1 deletion plugins/QQHelloWorldPlugin/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"DisplayName": "QQHelloWorldPlugin 示例",
"Description": "这是一个示例插件1号。",
"Author": "yiyun",
"Version": "0.1.0",
"Version": "1.0.0",
"SupportedVersions": [ "0.0.1" ]
}

0 comments on commit 65ac9d4

Please sign in to comment.