dependencies { api( project(":io.sc.platform.attachment"), project(":io.sc.platform.attachment.api"), project(":io.sc.platform.core"), project(":io.sc.platform.flowable"), project(":io.sc.platform.orm"), project(":io.sc.platform.mvc"), project(":io.sc.platform.poi"), project(":io.sc.engine.rule.core"), project(":io.sc.engine.rule.client"), project(":io.sc.engine.rule.client.spring"), project(":io.sc.engine.rule.frontend"), "org.webjars:org.webjars.codemirror:5.37.0", "org.webjars:org.webjars.mxgraph:3.9.12", "org.webjars:org.webjars.jquery:1.12.4", "org.webjars:org.webjars.mathfonts:1.0.0", "org.webjars:org.webjars.mathcss:1.0.0", ) } processResources { filesMatching('**/*.java') { filteringCharset = 'UTF-8' filter(org.apache.tools.ant.filters.ReplaceTokens, beginToken: '', endToken: '',tokens: [version: '' + project.version]) } doLast{ // 为了能够兼容 eclipse 和 idea 两种开发环境,调整如下: // 1. 将 environment.properties 文件放在了 src/main/resources 目录中 // 2. 在打包时,将该文件删除 delete "$buildDir/resources/main/running-mode.properties" } }