@@ -80,16 +80,6 @@ if (isCI) {
8080
8181version = " ${version} -IDEA${buildVersion} "
8282
83- fun getRev (): String {
84- val os = ByteArrayOutputStream ()
85- exec {
86- executable = " git"
87- args(" rev-parse" , " HEAD" )
88- standardOutput = os
89- }
90- return os.toString().substring(0 , 7 )
91- }
92-
9383task(" downloadEmmyDebugger" , type = Download ::class ) {
9484 src(arrayOf(
9585 " https://github.com/EmmyLua/EmmyLuaDebugger/releases/download/${emmyDebuggerVersion} /darwin-arm64.zip" ,
@@ -184,38 +174,13 @@ project(":") {
184174
185175 intellijPlatform {
186176 version = version
177+ buildSearchableOptions = false
187178 sandboxContainer.set(layout.buildDirectory.dir(" ${buildVersionData.ideaSDKShortVersion} /idea-sandbox" ))
188179 }
189180
190- task(" bunch" ) {
191- doLast {
192- val rev = getRev()
193- // reset
194- exec {
195- executable = " git"
196- args(" reset" , " HEAD" , " --hard" )
197- }
198- // clean untracked files
199- exec {
200- executable = " git"
201- args(" clean" , " -d" , " -f" )
202- }
203- // switch
204- exec {
205- executable = if (isWin) " bunch/bin/bunch.bat" else " bunch/bin/bunch"
206- args(" switch" , " ." , buildVersionData.bunch)
207- }
208- // reset to HEAD
209- exec {
210- executable = " git"
211- args(" reset" , rev)
212- }
213- }
214- }
215-
216181 tasks {
217182 buildPlugin {
218- dependsOn(" bunch " , " installEmmyDebugger" )
183+ dependsOn(" installEmmyDebugger" )
219184 archiveBaseName.set(buildVersionData.archiveName)
220185 from(fileTree(resDir) { include(" !!DONT_UNZIP_ME!!.txt" ) }) {
221186 into(" /${project.name} " )
0 commit comments