Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use latest Gradle wrapper and Bump dependencies #4

Merged
merged 5 commits into from
Nov 22, 2018
Merged

Use latest Gradle wrapper and Bump dependencies #4

merged 5 commits into from
Nov 22, 2018

Conversation

schnapster
Copy link
Contributor

No description provided.

@lbalmaceda
Copy link
Contributor

I forgot to update this one on the past week.. This is good. But please, go and rollback the changes on spring and servlet dependencies since you are now using different majors and I can't know for sure what's the impact for this SDK's users.

Copy link
Contributor

@lbalmaceda lbalmaceda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a comment above this review. Added suggested changes to avoid changing a dependency version to a new major.

lib/build.gradle Outdated
implementation 'com.auth0:jwks-rsa:0.6.1'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.9.7'
implementation 'commons-codec:commons-codec:1.11'
implementation 'org.springframework.security:spring-security-core:5.1.1.RELEASE'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
implementation 'org.springframework.security:spring-security-core:5.1.1.RELEASE'
implementation 'org.springframework.security:spring-security-core:4.2.9.RELEASE'

lib/build.gradle Outdated
implementation 'com.fasterxml.jackson.core:jackson-databind:2.9.7'
implementation 'commons-codec:commons-codec:1.11'
implementation 'org.springframework.security:spring-security-core:5.1.1.RELEASE'
implementation 'org.springframework.security:spring-security-web:5.1.1.RELEASE'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
implementation 'org.springframework.security:spring-security-web:5.1.1.RELEASE'
implementation 'org.springframework.security:spring-security-web:4.2.9.RELEASE'

lib/build.gradle Outdated
implementation 'commons-codec:commons-codec:1.11'
implementation 'org.springframework.security:spring-security-core:5.1.1.RELEASE'
implementation 'org.springframework.security:spring-security-web:5.1.1.RELEASE'
implementation 'org.springframework.security:spring-security-config:5.1.1.RELEASE'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
implementation 'org.springframework.security:spring-security-config:5.1.1.RELEASE'
implementation 'org.springframework.security:spring-security-config:4.2.9.RELEASE'

lib/build.gradle Outdated
testImplementation 'junit:junit:4.12'
testImplementation 'org.hamcrest:java-hamcrest:2.0.0.0'
testImplementation 'org.mockito:mockito-core:2.23.0'
testCompile 'javax.servlet:javax.servlet-api:4.0.1'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
testCompile 'javax.servlet:javax.servlet-api:4.0.1'
testCompile 'javax.servlet:servlet-api:2.5'

lib/build.gradle Outdated
implementation 'org.springframework.security:spring-security-web:5.1.1.RELEASE'
implementation 'org.springframework.security:spring-security-config:5.1.1.RELEASE'
implementation 'org.slf4j:slf4j-api:1.7.25'
compileOnly 'javax.servlet:javax.servlet-api:4.0.1'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
compileOnly 'javax.servlet:javax.servlet-api:4.0.1'
compileOnly 'javax.servlet:servlet-api:2.5'

@schnapster
Copy link
Contributor Author

Gotcha, updated.

build.gradle Outdated
}

wrapper {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've never needed this before. Can you safely remove it? How have you updated the gradle version? I normally run ./gradlew wrapper --gradle-version 4.10.2 --distribution-type all

@lbalmaceda lbalmaceda merged commit abd6ec9 into auth0:master Nov 22, 2018
@lbalmaceda lbalmaceda changed the title Bump dependencies Use latest Gradle wrapper and Bump dependencies Nov 22, 2018
@lbalmaceda lbalmaceda modified the milestones: v1-Next, 1.2.0 Nov 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants