mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2025-12-22 04:22:35 +01:00
fix webUI not being copied
This commit is contained in:
@@ -22,7 +22,7 @@ repositories {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
// okhttp
|
// okhttp
|
||||||
val okhttpVersion = "4.9.1" // version is locked by extensions
|
val okhttpVersion = "4.9.1" // version is locked by Tachiyomi extensions
|
||||||
implementation("com.squareup.okhttp3:okhttp:$okhttpVersion")
|
implementation("com.squareup.okhttp3:okhttp:$okhttpVersion")
|
||||||
implementation("com.squareup.okhttp3:logging-interceptor:$okhttpVersion")
|
implementation("com.squareup.okhttp3:logging-interceptor:$okhttpVersion")
|
||||||
implementation("com.squareup.okhttp3:okhttp-dnsoverhttps:$okhttpVersion")
|
implementation("com.squareup.okhttp3:okhttp-dnsoverhttps:$okhttpVersion")
|
||||||
|
|||||||
@@ -2,13 +2,14 @@ plugins {
|
|||||||
id("com.github.node-gradle.node") version "3.0.1"
|
id("com.github.node-gradle.node") version "3.0.1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
val nodeRoot = "${project.projectDir}/react"
|
||||||
node {
|
node {
|
||||||
nodeProjectDir.set(file("${project.projectDir}/react/"))
|
nodeProjectDir.set(file(nodeRoot))
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
register<Copy>("copyBuild") {
|
register<Copy>("copyBuild") {
|
||||||
from(file("${node.nodeProjectDir}/build"))
|
from(file("$nodeRoot/build"))
|
||||||
into(file("$rootDir/server/src/main/resources/react"))
|
into(file("$rootDir/server/src/main/resources/react"))
|
||||||
|
|
||||||
dependsOn("yarn_build")
|
dependsOn("yarn_build")
|
||||||
|
|||||||
Reference in New Issue
Block a user