1 Star 0 Fork 0

xiaohan/my_fork

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle 1.81 KB
一键复制 编辑 原始数据 按行查看 历史
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'
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xhcode123/my_fork.git
[email protected]:xhcode123/my_fork.git
xhcode123
my_fork
my_fork
master

搜索帮助