Skip to content

Commit

Permalink
feat(plugins/zhidaoplugin/): 依赖KonataPlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
yiyungent committed Jan 14, 2023
1 parent 3a71964 commit e9e7eea
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
2 changes: 0 additions & 2 deletions plugins/ZhiDaoPlugin/ZhiDaoPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@
using Konata.Core;
using Konata.Core.Events.Model;
using Konata.Core.Interfaces.Api;
using QQBotHub.Sdk.IPlugins;
using ZhiDaoPlugin.Utils;
using Konata.Core.Message.Model;
using Konata.Core.Common;
using System.Text;
using QQBotHub.Sdk;
using Konata.Core.Message;
using System.Collections.Generic;
using System.Linq;
Expand Down
11 changes: 1 addition & 10 deletions plugins/ZhiDaoPlugin/ZhiDaoPlugin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,7 @@
</PackageReference>-->
<PackageReference Include="Dapper" Version="2.0.123" />
<PackageReference Include="System.Data.SQLite.Core" Version="1.0.115.5" />
</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/ZhiDaoPlugin/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"DisplayName": "QQ知道插件",
"Description": "自定义问答",
"Author": "yiyun",
"Version": "0.2.2",
"Version": "1.0.0",
"SupportedVersions": [ "0.0.1" ]
}

0 comments on commit e9e7eea

Please sign in to comment.