-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
build(gradle): upgrade gradle 6.4.2 >>> 8.2.1 #5109
Merged
Merged
Changes from 2 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
e020e81
build(bumpup-gradle): upgrade gradle and code for it.
DarkWeird ef9695f
chore(bumpup-gradle): fix junitXmlReport.isEnabled -> required
DarkWeird 74962ea
build(bumpup-gradle): fix several declaration of `copyResourcesToClas…
DarkWeird bc7aede
build: fix undeclared implicit dependency gradle errors
BenjaminAmos 7ce779a
build: fix more undeclared dependency gradle errors
BenjaminAmos 8febb2a
Merge branch 'develop' into build/bumpup-gradle-to-8.2
jdrueckert a01b4b2
build: update groovyw wrapper to work with Gradle 8
BenjaminAmos 8e8db17
Merge remote-tracking branch 'origin/develop' into build/bumpup-gradl…
skaldarnar 8e80f70
Merge branch 'develop' into build/bumpup-gradle-to-8.2
DarkWeird f8571e5
use kotlin-1.9, force java-11 target. (#5113)
soloturn 9ae368c
Merge branch 'develop' into build/bumpup-gradle-to-8.2
DarkWeird 2af7e23
build: bump gradle 8.2 -> 8.2.1
jdrueckert 9599829
Merge branch 'develop' into build/bumpup-gradle-to-8.2
jdrueckert bdc7535
chore: update gradle wrapper
jdrueckert 65f0078
Merge branch 'develop' into build/bumpup-gradle-to-8.2
jdrueckert 1be7417
ci: update spotbugs version for gradle 7+, java-17, java-20 (#5126)
soloturn e5a8e6d
Merge branch 'develop' into build/bumpup-gradle-to-8.2
jdrueckert File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.2-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-all.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
What happened to this? All the other changes look like simple drop-in replacements, but this is just removed. Do we just not need it anymore?
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.
gradlew unitTest
fails with a message seemingly related to this: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.
Hm. I just delete it , and game running.
And i see how fix this now.
Seems there we should declare second edge for task graph.
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.
First I tried to add those missing dependencies, but it gets weird quickly, and you also have to add
DupliactesStrategy
s (I suspect because we wildly copy files around and don't care about duplicates or anything). I've added more and moredependsOn
andduplicatesStrategy = 'exclude'
, but in the end still failed to run the tests 😔My second attempt was to remove the
copyResourcesToClasses
task and pointers to it completely, from both:engine
and:engine-tests
. Eventually, the engine (tests) seemingly built, but then errors popped up when dealing with modules: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.
Do we have to re-model all these dependencies to make Gradle happy? Is the new Gradle version just pointing us to places where the setup was "shaky" in the first place?
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.
@BenjaminAmos @DarkWeird do you know what exactly is meant by
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.
Gestalt works with one source of module.(one jar, one dir etc)
Gradle split resouces and classes(compiled classes) dirs when build sources.
More gradle creates separate classes dir on every sources (java/kotlin/groovy - etc)