2 Star 1 Fork 0

Kenny小狼/mobile-verify-code

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 1.98 KB
一键复制 编辑 原始数据 按行查看 历史
buildscript {
ext {
springBootVersion = '1.5.10.RELEASE'
}
repositories {
maven {
name = 'aliyun-nexus'
url = 'http://maven.aliyun.com/nexus/content/groups/public/'
}
jcenter()
mavenLocal()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
configure(allprojects) { project ->
apply plugin: 'java'
group = 'me.kennylee'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
maven {
name = 'aliyun-nexus'
url = 'http://maven.aliyun.com/nexus/content/groups/public/'
}
jcenter()
mavenLocal()
}
}
project('sms') {
description = '手机验证码核心模块.'
archivesBaseName = "sms-code"
version = '1.0.0'
dependencies {
compile 'org.slf4j:slf4j-api:1.7.9'
compileOnly('org.projectlombok:lombok:1.16.20')
compile 'com.aliyun:aliyun-java-sdk-core:3.2.5'
compile files("$rootProject.projectDir/libs/aliyun-java-sdk-dysmsapi-1.0.0-SANPSHOT.jar")
compile 'com.google.guava:guava:23.0'
compile 'org.apache.commons:commons-lang3:3.7'
compile 'com.google.code.gson:gson:2.8.2'
// validator depends
compile 'net.sf.ehcache:ehcache:2.10.4'
// 如果用到spring cache..
compile 'org.springframework:spring-context:4.2.3.RELEASE'
testCompile 'junit:junit:4.12'
}
}
project('web') {
description = 'web模块,演示等用途.'
apply plugin: 'org.springframework.boot'
dependencies {
compile('org.springframework.boot:spring-boot-starter-cache')
compile('org.springframework.boot:spring-boot-starter-thymeleaf')
compile('org.springframework.boot:spring-boot-starter-web')
compileOnly('org.projectlombok:lombok')
testCompile('org.springframework.boot:spring-boot-starter-test')
compile(project(':sms'))
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/kennylee/mobile-verify-code.git
git@gitee.com:kennylee/mobile-verify-code.git
kennylee
mobile-verify-code
mobile-verify-code
master

搜索帮助