apply plugin: 'war' sourceCompatibility = 1.5 version = "1.0" //中央仓库 repositories { mavenCentral() } //加载本地依赖 dependencies { providedCompile 'javax.servlet:jsp-api:2.0' providedCompile 'javax.servlet:servlet-api:2.5' providedCompile 'javax.transaction:jta:1.1' compile fileTree(dir: 'WebRoot/WEB-INF/lib', include: '*.jar') } //设置编码 tasks.withType(Compile) { options.encoding = "UTF-8" //目录结构 sourceSets {

main {

java {

srcDir 'src/cmes/java';

exclude 'com/dhcc/cmes/base/**';

}

}

}

 

相关文章:

  • 2022-01-19
  • 2022-12-23
  • 2021-08-27
  • 2022-12-23
  • 2021-10-27
  • 2022-12-23
  • 2021-10-21
猜你喜欢
  • 2022-01-22
  • 2021-04-12
  • 2021-05-07
  • 2021-06-07
  • 2021-10-02
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案