1 Star 0 Fork 17

见贤思齐/spring-oauth2-demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 1.83 KB
一键复制 编辑 原始数据 按行查看 历史
allprojects {
apply plugin: 'idea'
apply plugin: 'java'
}
buildscript {
ext {
springBootVersion = '2.0.3.RELEASE'
springCloudVersion = 'Finchley.RELEASE'
}
repositories {
maven { url 'http://maven.aliyun.com/mvn/repository/' }
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
repositories {
maven { url 'http://maven.aliyun.com/mvn/repository/' }
mavenCentral()
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
}
project("sso-auth-server") {
dependencies {
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'org.springframework.boot:spring-boot-starter-jdbc'
compile 'org.springframework.security:spring-security-jwt'
compile 'org.springframework.cloud:spring-cloud-starter-oauth2'
compile 'org.springframework.cloud:spring-cloud-starter-consul-discovery'
runtime 'mysql:mysql-connector-java'
}
}
project("sso-auth-client") {
dependencies {
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'org.springframework.cloud:spring-cloud-starter-oauth2'
compile 'org.springframework.cloud:spring-cloud-starter-openfeign'
compile 'org.springframework.cloud:spring-cloud-starter-consul-discovery'
compile 'io.github.openfeign:feign-okhttp'
}
}
project("sso-auth-resource") {
dependencies {
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'org.springframework.cloud:spring-cloud-starter-oauth2'
compile 'org.springframework.cloud:spring-cloud-starter-openfeign'
compile 'org.springframework.cloud:spring-cloud-starter-consul-discovery'
compile 'io.github.openfeign:feign-okhttp'
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/JianXianSiQi/spring-oauth2-demo.git
git@gitee.com:JianXianSiQi/spring-oauth2-demo.git
JianXianSiQi
spring-oauth2-demo
spring-oauth2-demo
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385