mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2024-11-01 15:05:06 +01:00
22 lines
448 B
Plaintext
22 lines
448 B
Plaintext
plugins {
|
|
id("com.moowork.node") version "1.3.1"
|
|
}
|
|
|
|
node {
|
|
workDir = file("${project.projectDir}/react/")
|
|
nodeModulesDir = file("${project.projectDir}/react/node_modules")
|
|
}
|
|
|
|
tasks.named("yarn_build") {
|
|
dependsOn("yarn_install")
|
|
}
|
|
|
|
tasks.register<Copy>("copyBuild") {
|
|
from(file("$rootDir/webUI/react/build"))
|
|
into(file("$rootDir/server/src/main/resources/react"))
|
|
}
|
|
|
|
tasks.named("copyBuild") {
|
|
dependsOn("yarn_build")
|
|
}
|