Skip to content

Commit

Permalink
Merge pull request #103 from omarkacimi3254/master
Browse files Browse the repository at this point in the history
jdk11 upgrade (along necessary spring and spring boot upgrade)
  • Loading branch information
janschawo1111 authored Jan 25, 2019
2 parents 3fb6b5a + bcdcb3f commit 35d6095
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 17 deletions.
6 changes: 3 additions & 3 deletions edison-oauth/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ dependencies {
compile libraries.spring_boot_autoconfigure
compile libraries.spring_boot_starter_web
compile libraries.async_http_client
compile libraries.spring_boot_security
compile libraries.spring_boot_security_oauth
compile libraries.spring_boot_security_jwt
compile libraries.spring_security
compile libraries.spring_security_oauth
compile libraries.spring_security_jwt
compile java_xml

testCompile libraries.async_http_client
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,7 @@ public class TogglzTestConfiguration {
@Bean
@Profile("test")
public UserProvider userProvider() {
return new UserProvider() {
@Override
public FeatureUser getCurrentUser() {
return new SimpleFeatureUser("someName", false);
}
};
return () -> new SimpleFeatureUser("someName", false);
}

@Bean
Expand Down
2 changes: 2 additions & 0 deletions edison-togglz/src/test/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
spring:
main:
allow-bean-definition-overriding: true
application:
name: togglztest

Expand Down
3 changes: 3 additions & 0 deletions examples/example-togglz/src/test/resources/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
spring:
main:
allow-bean-definition-overriding: true
17 changes: 9 additions & 8 deletions gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
*/
ext {
versions = [
spring_boot : '2.0.4.RELEASE',
spring : '5.0.8.RELEASE',
spring_boot_security_oauth : '2.3.3.RELEASE',
spring_boot_security_jwt : '1.0.9.RELEASE',
async_http_client : '2.5.2',
spring_boot : '2.1.2.RELEASE',
spring : '5.1.4.RELEASE',
spring_security_core : '5.1.3.RELEASE',
spring_security_oauth : '2.3.4.RELEASE',
spring_security_jwt : '1.0.10.RELEASE',
async_http_client : '2.7.0',
jcip_annotations : '1.0',
logback_classic : '1.2.3',
javax_servlet_api : '3.1.0',
Expand Down Expand Up @@ -49,9 +50,9 @@ ext {
spring_boot_starter_cache : "org.springframework.boot:spring-boot-starter-cache:${versions.spring_boot}",
spring_boot_starter_actuator : "org.springframework.boot:spring-boot-starter-actuator:${versions.spring_boot}",
spring_boot_starter_thymeleaf : "org.springframework.boot:spring-boot-starter-thymeleaf:${versions.spring_boot}",
spring_boot_security : "org.springframework.security:spring-security-core:${versions.spring}",
spring_boot_security_oauth : "org.springframework.security.oauth:spring-security-oauth2:${versions.spring_boot_security_oauth}",
spring_boot_security_jwt : "org.springframework.security:spring-security-jwt:${versions.spring_boot_security_jwt}",
spring_security : "org.springframework.security:spring-security-core:${versions.spring_security_core}",
spring_security_oauth : "org.springframework.security.oauth:spring-security-oauth2:${versions.spring_security_oauth}",
spring_security_jwt : "org.springframework.security:spring-security-jwt:${versions.spring_security_jwt}",
aws_sdk_s3 : "software.amazon.awssdk:s3:${versions.aws_sdk}",
aws_sdk_ssm : "software.amazon.awssdk:ssm:${versions.aws_sdk}",
async_http_client : "org.asynchttpclient:async-http-client:${versions.async_http_client}",
Expand Down

0 comments on commit 35d6095

Please sign in to comment.