mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2025-01-12 08:49:08 +01:00
fix webUI not being copied
This commit is contained in:
parent
4147f2e368
commit
733b017936
@ -22,7 +22,7 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
// 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:logging-interceptor:$okhttpVersion")
|
||||
implementation("com.squareup.okhttp3:okhttp-dnsoverhttps:$okhttpVersion")
|
||||
|
@ -2,13 +2,14 @@ plugins {
|
||||
id("com.github.node-gradle.node") version "3.0.1"
|
||||
}
|
||||
|
||||
val nodeRoot = "${project.projectDir}/react"
|
||||
node {
|
||||
nodeProjectDir.set(file("${project.projectDir}/react/"))
|
||||
nodeProjectDir.set(file(nodeRoot))
|
||||
}
|
||||
|
||||
tasks {
|
||||
register<Copy>("copyBuild") {
|
||||
from(file("${node.nodeProjectDir}/build"))
|
||||
from(file("$nodeRoot/build"))
|
||||
into(file("$rootDir/server/src/main/resources/react"))
|
||||
|
||||
dependsOn("yarn_build")
|
||||
|
Loading…
x
Reference in New Issue
Block a user