Skip to content

Commit 23208e7

Browse files
author
Stewart Miles
committed
Remove experimental package manager component.
The built in package manager was never finished and has been superceded by the Unity Package Manager. Bug: 150939995 Change-Id: I5cf19d582bc136ca9d2ed9ee408df0769a30f936
1 parent 5b41493 commit 23208e7

File tree

33 files changed

+1
-3721
lines changed

33 files changed

+1
-3721
lines changed

build.gradle

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ project.ext {
2424
String unitySearchDirExcludesString = findProperty("UNITY_EXCLUDES")
2525
String[] unitySearchDirExcludes =
2626
unitySearchDirExcludesString ?
27-
unitySearchDirExcludesString.tokenize(";") :
28-
["**/PackageManager/Editor"]
27+
unitySearchDirExcludesString.tokenize(";") : []
2928

3029
// Save the current OS.
3130
operatingSystem = OperatingSystem.getOperatingSystem()
@@ -1072,34 +1071,6 @@ task cleanResolverLibTests() {
10721071
testResolverLibTests.outputs.files) }
10731072
}
10741073

1075-
Task compilePackageManagerTests = createXbuildTask(
1076-
"compilePackageManagerTests",
1077-
"Compile tests for the package manager.",
1078-
project.ext.pluginSolutionFile, "PackageManagerTests",
1079-
fileTree(new File(new File(project.ext.pluginSourceDir,
1080-
"PackageManagerTests"), "src")),
1081-
new File(project.ext.testDir, "PackageManagerTests"),
1082-
[new File("PackageManagerTests.dll")], []).with {
1083-
doFirst { checkNUnitDllPath() }
1084-
}
1085-
1086-
Task testPackageManagerTests = createNUnitTask(
1087-
"testPackageManagerTests",
1088-
"Runs tests for the Package Manager",
1089-
compilePackageManagerTests.outputs.files[0],
1090-
[compilePackageManagerTests]).with {
1091-
environment (["TEST_DATA_DIR":
1092-
(new File(new File(project.ext.pluginSourceDir,
1093-
"PackageManagerTests"),
1094-
"testData")).absolutePath])
1095-
}
1096-
1097-
task cleanPackageManagerTests() {
1098-
description "Clean Package Manager tests"
1099-
doLast { delete files(compilePackageManagerTests.ext.buildDir,
1100-
testPackageManagerTests.outputs.files) }
1101-
}
1102-
11031074
task testDownloadArtifacts(type: GradleBuild) {
11041075
description "Run tests for the download_artifacts.gradle script."
11051076
dir "source/AndroidResolver/scripts"
@@ -1134,9 +1105,6 @@ Task buildAndroidResolver = createBuildPluginDllTask(
11341105
Task buildIosResolver = createBuildPluginDllTask(
11351106
"IosResolver", "IOSResolver", "Google.IOSResolver.dll", true,
11361107
[buildAndroidResolver])
1137-
Task buildPackageManager = createBuildPluginDllTask(
1138-
"PackageManager", "PackageManager", "Google.PackageManager.dll", true,
1139-
[buildVersionHandlerImpl])
11401108

11411109
task preparePluginStagingAreaDir(type: Task) {
11421110
description "Delete all files that should not be present in staging area."

registry/com.google.unity.example/gpm-example-plugin/1.0.0/description.xml

Lines changed: 0 additions & 10 deletions
This file was deleted.

registry/com.google.unity.example/package-manifest.xml

Lines changed: 0 additions & 14 deletions
This file was deleted.

registry/com.google.unity.firebase.analytics/firebase-analytics-plugin/1.1.0/description.xml

Lines changed: 0 additions & 10 deletions
This file was deleted.

registry/com.google.unity.firebase.analytics/package-manifest.xml

Lines changed: 0 additions & 14 deletions
This file was deleted.

registry/com.google.unity.playgames/google-playgames-plugin/0.9.36/description.xml

Lines changed: 0 additions & 10 deletions
This file was deleted.

registry/com.google.unity.playgames/package-manifest.xml

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)