IntelliJ IDEA —— grnadle配置文件

apply plugin:'java'
apply plugin:'war'

war {
   archiveName 'OS.war'
}

version = ''
compileJava.options.encoding = 'UTF-8'

repositories{
   jcenter();
}
def springVer = '3.2.4.RELEASE'

dependencies{

   compile fileTree(dir:"libs",include:"*.jar");

   compile 'org.apache.commons:commons-lang3:3.1'

   compile 'org.springframework:spring-core:' + springVer
   compile 'commons-beanutils:commons-beanutils:1.9.2'

   testCompile 'junit:junit:4.12'
   providedCompile 'javax.servlet:servlet-api:2.5'
}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章