Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add UnityPackageManagerResolver to EDM4U
UnityPackageManagerResolver helps to transition to manage packages through Unity Package Manager, from Unity 2018.4. - Prompts to add Game Package Registry by Google to Unity project. This allows the users to discover and manage packages from Google through Unity Package Manager. - Added a setting window under "Assets > External Dependency Manager > Unity Package Manager Resolver" to add and remove registries. Bug: 150471207 Change-Id: Ia2f1b497a412b850d561d62977808b09b7c1f5fc
- Loading branch information
Showing
16 changed files
with
1,684 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...n/Assets/ExternalDependencyManager/Editor/Google.UnityPackageManagerResolver.dll.mdb.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
34 changes: 34 additions & 0 deletions
34
plugin/Assets/ExternalDependencyManager/Editor/Google.UnityPackageManagerResolver.dll.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 58 additions & 0 deletions
58
source/UnityPackageManagerResolver/Properties/AssemblyInfo.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
// <copyright file="AssemblyInfo.cs" company="Google LLC"> | ||
// Copyright (C) 2020 Google LLC All Rights Reserved. | ||
// | ||
// 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. | ||
// </copyright> | ||
|
||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
|
||
// Information about this assembly is defined by the following attributes. | ||
// Change them to the values specific to your project. | ||
[assembly: AssemblyTitle("Google.UnityPackageManagerResolver")] | ||
[assembly: AssemblyDescription("")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("Google LLC")] | ||
[assembly: AssemblyProduct("")] | ||
[assembly: AssemblyCopyright("Copyright 2020")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
|
||
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". | ||
// The form "{Major}.{Minor}.*" will automatically update the build and revision, | ||
// and "{Major}.{Minor}.{Build}.*" will update just the revision. | ||
[assembly: AssemblyVersion("1.2.0.0")] | ||
|
||
// The following attributes are used to specify the signing key for the assembly, | ||
// if desired. See the Mono documentation for more information about signing. | ||
|
||
// [assembly: AssemblyDelaySign(false)] | ||
// // <copyright file="ResolutionException.cs" company="Google LLC"> | ||
// Copyright (C) 2016 Google LLC All Rights Reserved. | ||
// | ||
// 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. | ||
// </copyright>[assembly: AssemblyKeyFile("")] | ||
|
||
// Uses UnityPackageManagerResolver.RestoreDefaultSettings(preferenceKeys) | ||
[assembly: InternalsVisibleTo("Google.UnityPackageManagerResolverTests")] | ||
|
78 changes: 78 additions & 0 deletions
78
source/UnityPackageManagerResolver/UnityPackageManagerResolver.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProductVersion>8.0.30703</ProductVersion> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<ProjectGuid>{77EBE819-CBE6-4CA8-A791-ED747EA29D30}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<RootNamespace>Google</RootNamespace> | ||
<AssemblyName>Google.UnityPackageManagerResolver</AssemblyName> | ||
<ReleaseVersion>1.2</ReleaseVersion> | ||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>True</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>False</Optimize> | ||
<OutputPath>bin\Debug</OutputPath> | ||
<DefineConstants>DEBUG;UNITY_EDITOR</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<ConsolePause>False</ConsolePause> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugSymbols>True</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>True</Optimize> | ||
<OutputPath>bin\Release</OutputPath> | ||
<DefineConstants>DEBUG;UNITY_EDITOR</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<ConsolePause>False</ConsolePause> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<UnityHintPath>..\..\unity_dlls</UnityHintPath> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="UnityEditor"> | ||
<HintPath>$(UnityHintPath)/UnityEditor.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEngine"> | ||
<HintPath>$(UnityHintPath)/UnityEngine.dll</HintPath> | ||
</Reference> | ||
<Reference Include="Google.VersionHandler.dll"> | ||
<HintPath>..\VersionHandler\bin\Release\Google.VersionHandler.dll</HintPath> | ||
</Reference> | ||
<Reference Include="Google.VersionHandlerImpl.dll"> | ||
<HintPath>..\VersionHandler\bin\Release\Google.VersionHandlerImpl.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Web" /> | ||
<Reference Include="System.Xml" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> | ||
<ItemGroup> | ||
<Folder Include="src\" /> | ||
<Folder Include="Properties\" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="src\PackageManifestModifier.cs" /> | ||
<Compile Include="src\SettingsDialog.cs" /> | ||
<Compile Include="src\UnityPackageManagerResolver.cs" /> | ||
<Compile Include="src\VersionNumber.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\VersionHandler\VersionHandler.csproj"> | ||
<Project>{5378B37A-887E-49ED-A8AE-42FA843AA9DC}</Project> | ||
<Name>VersionHandler</Name> | ||
</ProjectReference> | ||
<ProjectReference Include="..\VersionHandlerImpl\VersionHandlerImpl.csproj"> | ||
<Project>{1E162334-8EA2-440A-9B3A-13FD8FE5C22E}</Project> | ||
<Name>VersionHandlerImpl</Name> | ||
</ProjectReference> | ||
</ItemGroup> | ||
</Project> |
Oops, something went wrong.