Skip to content

Commit

Permalink
Enable gradle build cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
kunyavskiy committed Aug 19, 2023
1 parent 84c221a commit a88e619
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ kotlin.code.style=official
build_version=dev
#change this to `false` to use system installed npm
npm.download=true
org.gradle.parallel=true
org.gradle.parallel=true
org.gradle.caching=true
4 changes: 4 additions & 0 deletions src/frontend/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,17 @@ tasks {
environment.set(mapOf("PUBLIC_URL" to "/overlay"))
inputs.dir("overlay/src")
inputs.dir("overlay/public")
inputs.file("package.json")
inputs.file("package-lock.json")
inputs.file("overlay/package.json")
outputs.dir("overlay/build")
}
named<NpmTask>("npm_run_buildAdmin") {
environment.set(mapOf("PUBLIC_URL" to "/admin"))
inputs.dir("admin/src")
inputs.dir("admin/public")
inputs.file("package.json")
inputs.file("package-lock.json")
inputs.file("admin/package.json")
outputs.dir("admin/build")
}
Expand Down

0 comments on commit a88e619

Please sign in to comment.