Skip to content

Commit 26613e4

Browse files
committed
try build
1 parent 7d0510b commit 26613e4

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -128,16 +128,6 @@ We welcome contributions of all kinds! Please check the [Contributing Guide](CON
128128
| `installDependencies` | Install all dependencies |
129129
| `cleanDependencies` | Clean downloaded dependencies |
130130

131-
## 📊 Project Statistics
132-
133-
<div align="center">
134-
135-
![GitHub stars](https://img.shields.io/github/stars/CppCXY/Intellij-EmmyLua2?style=social)
136-
![GitHub forks](https://img.shields.io/github/forks/CppCXY/Intellij-EmmyLua2?style=social)
137-
![GitHub issues](https://img.shields.io/github/issues/CppCXY/Intellij-EmmyLua2)
138-
![GitHub pull requests](https://img.shields.io/github/issues-pr/CppCXY/Intellij-EmmyLua2)
139-
140-
</div>
141131

142132
## 🙏 Acknowledgments
143133

build.gradle.kts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,18 +241,20 @@ tasks {
241241

242242
// 准备沙盒环境
243243
prepareSandbox {
244+
val projectDir = layout.projectDirectory
245+
val pluginNameProvider = pluginName
244246

245247
doLast {
246248
// 复制服务器文件到沙盒
247249
copy {
248-
from("${project.projectDir}/src/main/resources/server")
249-
into("${destinationDir.path}/${pluginName.get()}/server")
250+
from(projectDir.dir("src/main/resources/server"))
251+
into("${destinationDir.path}/${pluginNameProvider.get()}/server")
250252
}
251253

252254
// 复制调试器文件到沙盒
253255
copy {
254-
from("${project.projectDir}/src/main/resources/debugger")
255-
into("${destinationDir.path}/${pluginName.get()}/debugger")
256+
from(projectDir.dir("src/main/resources/debugger"))
257+
into("${destinationDir.path}/${pluginNameProvider.get()}/debugger")
256258
}
257259
}
258260
}

0 commit comments

Comments
 (0)