加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle 3.10 KB
一键复制 编辑 原始数据 按行查看 历史
buildscript {
ext {
springBootVersion = '2.1.1.RELEASE'
}
repositories {
maven {
url 'http://maven.aliyun.com/nexus/content/groups/public/'
}
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'war'
group = 'com.freelycar.saas'
version = '1.0.0-SNAPSHOT'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
maven {
url 'http://maven.aliyun.com/nexus/content/groups/public/'
}
mavenCentral()
}
dependencies {
compile('org.springframework.boot:spring-boot-starter-actuator')
compile('org.springframework.boot:spring-boot-starter-aop')
compile('org.springframework.boot:spring-boot-starter-data-jpa')
compile('org.springframework.boot:spring-boot-starter-security')
compile('org.springframework.boot:spring-boot-starter-web')
compile('org.springframework.boot:spring-boot-starter-cache')
compile('org.springframework.boot:spring-boot-starter-websocket')
// compile('org.springframework.boot:spring-boot-starter-thymeleaf')
compile('mysql:mysql-connector-java')
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.7'
compile group: 'com.alibaba', name: 'druid', version: '1.1.10'
compile group: 'com.alibaba', name: 'fastjson', version: '1.2.49'
//jwt
compile group: 'io.jsonwebtoken', name: 'jjwt', version: '0.9.1'
// org.apache.cxf
compile group: 'org.apache.cxf', name: 'cxf-rt-frontend-jaxws', version: '3.2.7'
compile group: 'org.apache.cxf', name: 'cxf-rt-transports-http', version: '3.2.7'
compile group: 'org.apache.cxf', name: 'cxf-rt-transports-http-jetty', version: '3.2.7'
// https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.6'
// https://mvnrepository.com/artifact/io.springfox/springfox-swagger2
compile group: 'io.springfox', name: 'springfox-swagger2', version: '2.9.2'
// https://mvnrepository.com/artifact/io.springfox/springfox-swagger-ui
compile group: 'io.springfox', name: 'springfox-swagger-ui', version: '2.9.2'
// lombok
annotationProcessor 'org.projectlombok:lombok:1.18.4'
compileOnly 'org.projectlombok:lombok:1.18.4'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.4'
testCompileOnly 'org.projectlombok:lombok:1.18.4'
// https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp
compile group: 'com.squareup.okhttp3', name: 'okhttp', version: '3.13.1'
// https://mvnrepository.com/artifact/com.google.code.gson/gson
compile group: 'com.google.code.gson', name: 'gson', version: '2.3.1'
//devtools
compile('org.springframework.boot:spring-boot-devtools')
//tomcat
providedCompile("org.springframework.boot:spring-boot-starter-tomcat")
//test
testCompile('org.springframework.boot:spring-boot-starter-test')
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化