代码拉取完成,页面将自动刷新
同步操作将从 IPCUN/Scada-LTS 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
/*
*
* BETA FEATURE (not-stable, still under development)
* We advise to use ANT build instead of gradle.
*
* Scada-LTS gradle build configuration
* Based on the ANT "build.xml" file. This file provide the information
* where the source set is located, where are located the java libraries
* and use subproject tasks to include an NewUI contents inside Scada-LTS app.
*/
plugins {
id 'war'
id 'java'
}
sourceCompatibility = 1.11
targetCompatibility = 1.11
// Environment variables to change
subprojects {
ext {
buildUi = true
}
}
repositories {
jcenter()
}
dependencies {
providedCompile fileTree(include: ['*.jar'], dir:'WebContent/WEB-INF/lib')
providedCompile fileTree(include: ['*.jar'], dir: System.getenv("CATALINA_HOME") + '/lib')
}
sourceSets {
main {
java {
srcDirs = ['src']
}
}
test {
java {
srcDirs = ['test']
}
}
}
war {
dependsOn(':scadalts-ui:copyNewUiImages')
from 'WebContent'
}
task clearDockerDir(type: Delete) {
delete files("docker/volumes/webapps/ScadaBR.war")
}
task copyWarToDocker(type: Copy, dependsOn: clearDockerDir) {
from "build/libs/"
into "docker/volumes/webapps/"
include('Scada-LTS.war')
rename('Scada-LTS.war', "ScadaBR.war")
}
task installWebDependency(type: Exec) {
workingDir "./WebContent/resources"
commandLine "npm", "install"
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。