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

Gradle update to 8.9 #977

Merged
merged 5 commits into from
Sep 22, 2024
Merged

Gradle update to 8.9 #977

merged 5 commits into from
Sep 22, 2024

Conversation

ArneBab
Copy link
Contributor

@ArneBab ArneBab commented Sep 14, 2024

this builds on #972

baseName → archiveBaseName
archiveName → archiveFileName
destinationDir → destinationDirectory
build.gradle Outdated
testImplementation "org.hamcrest:hamcrest-library:1.3"
testImplementation "org.hamcrest:hamcrest-core:1.3"
testImplementation "org.hamcrest:hamcrest:2.2"
testImplementation "org.hamcrest:hamcrest-core:2.2"
Copy link
Contributor

Choose a reason for hiding this comment

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

These are not the latest versions. junit:junit is at 4.13.2, and org.hamcrest:hamcrest is at 3.0 (and doesn’t need the split libraries anymore).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I updated junit now, but hamcrest caused problems with validation.

Copy link
Contributor

Choose a reason for hiding this comment

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

I updated junit now, but hamcrest caused problems with validation.

testImplementation('junit:junit:4.13.2') {
    exclude group: 'org.hamcrest', module: 'hamcrest-core'
}
testImplementation("org.mockito:mockito-core:1.9.5") {
    exclude group: 'org.hamcrest', module: 'hamcrest-core'
}

And maybe we should decide at some point which kind of Strings we want to use in build.gradle… 😄

@@ -213,6 +213,22 @@
<sha256 value="90f163f78e3ffb6f1c7ad97de9e7eba4eea25807141b85d6d12be67ca25449c4" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="junit" name="junit" version="4.13">
<artifact name="junit-4.13.jar">
Copy link
Contributor

Choose a reason for hiding this comment

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

We don’t need these ones anymore, do we? 🙂

@@ -250,36 +253,35 @@ dependencies {
implementation "org.unbescape:unbescape:1.1.6.RELEASE"
implementation "org.slf4j:slf4j-api:1.7.25"

testImplementation 'junit:junit:4.12'
testImplementation 'junit:junit:4.13.2'
Copy link
Contributor

Choose a reason for hiding this comment

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

We do need the exclusions of the old Hamcrest dependencies here; at least on my machine the build fails because it can’t verify hamcrest-core:1.3.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I restored those for next. thank you!

@ArneBab ArneBab merged commit f6972f1 into hyphanet:next Sep 22, 2024
1 check passed
@ArneBab
Copy link
Contributor Author

ArneBab commented Sep 22, 2024

merged — thank you for your reviews!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants