mirror of
https://github.com/halo-dev/plugin-starter.git
synced 2025-10-14 07:01:30 +00:00
feat: add gradle config
This commit is contained in:
@@ -60,7 +60,13 @@ task buildFrontend(type: NpxTask) {
|
||||
args = ['build']
|
||||
}
|
||||
|
||||
task pnpmInstall (type: NpxTask) {
|
||||
command = "pnpm"
|
||||
args = ["install"]
|
||||
}
|
||||
|
||||
build {
|
||||
// build frontend before build
|
||||
tasks.getByName('compileJava').dependsOn('buildFrontend')
|
||||
}
|
||||
tasks.getByName("buildFrontend").dependsOn("pnpmInstall")
|
||||
}
|
||||
|
Reference in New Issue
Block a user