feat: add gradle config

This commit is contained in:
guqing
2022-07-05 16:15:38 +08:00
parent 2d44ebf044
commit 2070c653d4

View File

@@ -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")
}