代码拉取完成,页面将自动刷新
buildscript {
ext {
springBootVersion = '1.5.9.RELEASE'
}
repositories {
maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
//读取yml的自定义属性
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
group = 'com.zhengjieblog.pocket'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
}
dependencies {
//Jpa
compile('org.springframework.boot:spring-boot-starter-data-jpa')
//Spring boot内置web容器
compile('org.springframework.boot:spring-boot-starter-web')
//Spring boot单元测试
testCompile('org.springframework.boot:spring-boot-starter-test')
//安全验证
//compile("org.springframework.boot:spring-boot-starter-security")
//设备类型检查
//compile("org.springframework.mobile:spring-mobile-device:1.1.5.RELEASE")
//Mysql
runtime('mysql:mysql-connector-java')
//lombok
compileOnly('org.projectlombok:lombok')
//阿里云连接池
compile("com.alibaba:druid:1.1.6")
//jwt
compile("com.auth0:java-jwt:2.2.0")
//处理JSON
compile("com.alibaba:fastjson:1.2.31")
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。