加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle 1.78 KB
一键复制 编辑 原始数据 按行查看 历史
buildscript {
ext {
springBootVersion = '1.5.18.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
group = 'cn.poschain'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
// https://mvnrepository.com/artifact/com.google.code.gson/gson
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.2'
//jsonutils
// https://mvnrepository.com/artifact/org.kopitubruk.util/JSONUtil
//compile group: 'org.kopitubruk.util', name: 'JSONUtil', version: '1.1.1'
//https://mvnrepository.com/artifact/javax.mail/mail
compile group: 'javax.mail', name: 'mail', version: '1.4.7'
//邮件
compile('org.springframework.boot:spring-boot-starter-mail')
// https://mvnrepository.com/artifact/log4j/log4j
//compile group: 'log4j', name: 'log4j', version: '1.2.17'
// https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core
//compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.11.1'
/*
token验证
*/
// https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt
compile group: 'io.jsonwebtoken', name: 'jjwt', version: '0.7.0'
// https://mvnrepository.com/artifact/com.auth0/java-jwt
//compile group: 'com.auth0', name: 'java-jwt', version: '3.4.0'
implementation('org.springframework.boot:spring-boot-starter-data-jpa')
implementation('org.springframework.boot:spring-boot-starter-web')
runtimeOnly('mysql:mysql-connector-java')
testImplementation('org.springframework.boot:spring-boot-starter-test')
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化