代码拉取完成,页面将自动刷新
group 'com.hansonwang99'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'spring-boot'
//生成的jar包包名和版本
jar {
baseName = 'hansonwang99'
version = '0.1.0'
}
//设置jdk的版本
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
buildscript {
repositories {
mavenCentral()//依赖Maven仓库
}
dependencies {
//使用1.5.3.RELEASE版本的Spring框架
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.5.3.RELEASE")
}
}
//添加编译时的依赖
dependencies {
compile("org.springframework.boot:spring-boot-starter-web")
testCompile('org.springframework.boot:spring-boot-starter-test')
compile("org.springframework.boot:spring-boot-starter-thymeleaf:1.4.2.RELEASE")
compile("org.springframework.boot:spring-boot-starter-data-jpa:1.4.2.RELEASE")
compile group: 'mysql', name: 'mysql-connector-java', version: '5.1.6'
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.4'
compile("org.springframework.boot:spring-boot-devtools:1.5.4.RELEASE")
compile 'org.webjars.bower:bootstrap:3.3.6'
compile 'org.webjars.bower:jquery:2.2.4'
compile 'org.webjars:jquery-form:3.51'
compile("org.webjars:vue:1.0.24")
compile 'org.webjars.bower:vue-resource:0.7.0'
compile group: 'org.jsoup', name: 'jsoup', version: '1.9.2'
compile('io.springfox:springfox-swagger2:2.7.0')
compile('io.springfox:springfox-swagger-ui:2.7.0')
compile('org.scribe:scribe:1.3.7')
compile 'com.alibaba:fastjson:1.2.38'
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.3'
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。