-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Update Gradle from 6.8.3 to 7.0 #7619
Conversation
Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc>
Depends on java9-modularity/gradle-modules-plugin#183 |
Getting the same error locally:
|
As "usual" the duplicate usage of
|
I think it's something with this incremental build. If you execute gradlew generateSource locally again than it works |
maybe gradle/gradle#16409 |
revert adding generate source
- Remove obsolete import org.gradle.work.DisableCachingByDefault - Empty lines to make plugin id comments more readable - Nicer Groovy code (= ;) Co-authored-by: Carl Christian Snethlage <50491877+calixtus@users.noreply.github.com>
Co-authored-by: Carl Christian Snethlage <50491877+calixtus@users.noreply.github.com>
Co-authored-by: Carl Christian Snethlage <50491877+calixtus@users.noreply.github.com>
…adlew-update-7.0 * 'gradlew-update-7.0' of github.com:JabRef/jabref: Fix groovy Fix mavenCentral
Co-authored-by: Carl Christian Snethlage <50491877+calixtus@users.noreply.github.com>
…adlew-update-7.0 # Conflicts: # buildSrc/build.gradle
…lasses to buildSrc
…ut as "src/" src-gen/main/java instead of src/main/generated
outputs.dir("src/main/generated/org/jabref/logic/bst/") | ||
args = ["-o", "$projectDir/src/main/generated/org/jabref/logic/bst/" , "$projectDir/src/main/antlr3/org/jabref/bst/Bst.g" ] | ||
outputs.dir("src-gen/main/java/org/jabref/logic/bst/") | ||
args = ["-o", "src-gen/main/java/org/jabref/logic/bst/" , "$projectDir/src/main/antlr3/org/jabref/bst/Bst.g" ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
args = ["-o", "src-gen/main/java/org/jabref/logic/bst/" , "$projectDir/src/main/antlr3/org/jabref/bst/Bst.g" ] | |
args = ["-o", "$projectDir/src-gen/main/java/org/jabref/logic/bst/" , "$projectDir/src/main/antlr3/org/jabref/bst/Bst.g" ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not added to outputs.dir
. To avoid cluttering the build.gradle
file, I would leave this change out and "just" use the relative path. (And it works with the relative path).
I'll keep it in my head though.
outputs.dir("src/main/generated/org/jabref/search/") | ||
args = ["-o","$projectDir/src/main/generated/org/jabref/search" , "-visitor", "-no-listener", "-package", "org.jabref.search", "$projectDir/src/main/antlr4/org/jabref/search/Search.g4"] | ||
outputs.dir("src-gen/main/java/org/jabref/search/") | ||
args = ["-o","src-gen/main/java/org/jabref/search" , "-visitor", "-no-listener", "-package", "org.jabref.search", "$projectDir/src/main/antlr4/org/jabref/search/Search.g4"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
args = ["-o","src-gen/main/java/org/jabref/search" , "-visitor", "-no-listener", "-package", "org.jabref.search", "$projectDir/src/main/antlr4/org/jabref/search/Search.g4"] | |
args = ["-o","$projectDir/src-gen/main/java/org/jabref/search" , "-visitor", "-no-listener", "-package", "org.jabref.search", "$projectDir/src/main/antlr4/org/jabref/search/Search.g4"] |
@@ -394,7 +397,7 @@ compileJava { | |||
options.compilerArgs << "-Xlint:none" | |||
dependsOn "generateSource" | |||
|
|||
options.annotationProcessorGeneratedSourcesDirectory = file("${projectDir}/src/main/generated") | |||
options.annotationProcessorGeneratedSourcesDirectory = file("src-gen/main/java") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
options.annotationProcessorGeneratedSourcesDirectory = file("src-gen/main/java") | |
options.annotationProcessorGeneratedSourcesDirectory = file("${projectDir}/src-gen/main/java") |
Strange thing -> on Windows, gradle executes the task We decided to copy the |
Tested Windows build: runs |
Since this PR has seen multiple authors, there is no chance to get an unbiased review. So we are merging this now, to move forward (and because all tests are green). |
* upstream/main: (354 commits) Fix ScienceDirect fetcher (#7684) Refactor NoBibTexFieldCheckerTest to increase mutation coverage (#7697) Update Gradle from 6.8.3 to 7.0 (#7619) Fixes Jabref#7305: the RFC fetcher is not compatible with the draftFix for issue 7305 (#7674) Refactoring existing unit tests (#7693) cover boundary cases & add more unit tests (#7694) Bump classgraph from 4.8.104 to 4.8.105 (#7688) Bump java-diff-utils from 4.9 to 4.10 (#7692) Fix arXiv fetcher tests (#7686) Make key for ScienceDirect configurable (#7683) migration of timestamp (#7671) Fix CCSB and DOAJ (#7426) [Bot] Update CSL styles (#7680) MS Office XML: Export month name (#7677) linkfix (#7678) readd fix (#7675) Fix threading cleanup in performSearch (#7672) add missing changelog delete bug fix (#7580) Add more unit tests to three gui classes (#7636) ... # Conflicts: # build.gradle
Update Gradle Wrapper from 6.8.3 to 7.0.
Read the release notes: https://docs.gradle.org/7.0/release-notes.html
The checksums of the Wrapper JAR and the distribution binary have been successfully verified.
7.0
eb8b89184261025b0430f5b2233701ff1377f96da1ef5e278af6ae8bac5cc305
e996d452d2645e70c01c11143ca2d3742734a28da2bf61f25c82bdc288c9e637
You can find the reference checksum values at https://gradle.org/release-checksums/
🤖 This PR has been created by the Update Gradle Wrapper action.
Need help? 🤔
If something doesn't look right with this PR please file an issue here.