Skip to content

Commit b798a28

Browse files
committed
Adding clarifying comments to build.gradle file
1 parent 0da7154 commit b798a28

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.gradle

+3
Original file line numberDiff line numberDiff line change
@@ -2124,6 +2124,7 @@ task releasePlugin(dependsOn: [buildPlugin, buildUpmPlugin]) {
21242124
fileTree(dir: project.ext.pluginExplodedDir),
21252125
pluginTemplateFilesMap.values())
21262126
doLast {
2127+
// Delete and regenerate built .unitypackage in the repo.
21272128
delete fileTree(
21282129
dir: project.ext.pluginReleaseFile.parentFile,
21292130
includes: [project.ext.currentPluginBasename + "-*.unitypackage"])
@@ -2137,6 +2138,7 @@ task releasePlugin(dependsOn: [buildPlugin, buildUpmPlugin]) {
21372138
into project.ext.pluginReleaseFileUnversioned.parentFile
21382139
rename { src_filename -> project.ext.pluginReleaseFileUnversioned.name }
21392140
}
2141+
// Delete and regenerate the exploded plugin folder in the repo.
21402142
delete fileTree(dir: project.ext.pluginExplodedDir)
21412143
copy {
21422144
from project.ext.pluginStagingAreaDir
@@ -2145,6 +2147,7 @@ task releasePlugin(dependsOn: [buildPlugin, buildUpmPlugin]) {
21452147
it.path + "/**/*"
21462148
}
21472149
}
2150+
// Delete and regenerate the UPM package in the repo.
21482151
delete fileTree(dir: project.ext.pluginUpmDir)
21492152
copy {
21502153
// Rename the top-level package folder to upm.

0 commit comments

Comments
 (0)