-
Notifications
You must be signed in to change notification settings - Fork 5
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 JDK automanagment] GradleWrapperMain patching #341
Merged
Merged
Changes from all commits
Commits
Show all changes
73 commits
Select commit
Hold shift + click to select a range
bbc0406
wip working
crogoz e9a049f
address some comments
crogoz f39dae0
discover app_home & rm insecure curl
crogoz 681d482
reuse logic
crogoz 36d77f2
move integration tests & refactor
crogoz 072e15b
fix & test
crogoz 4f75484
fix
crogoz d49fa30
fix certificate
crogoz 48dd039
local test & blocking locks
crogoz 9de3b3a
use java instead to move jdk & set up certs
crogoz 8a7c230
renames & gradle_user_home & configurable certs
crogoz c1eface
testing on ubuntu
crogoz 3063421
log nonExisting certs
crogoz 5e97259
cleanup
crogoz b2575df
wip working locally
crogoz e940d88
fixing tests
crogoz 26c1dd0
only when run locally
crogoz 5d4035b
cleanup
crogoz b035967
fix checkstyle
crogoz 28942d1
Add generated changelog entries
svc-changelog 72523ef
address comments
crogoz ab4d87e
fixes
crogoz f45b357
fix
crogoz 68ebd35
template & fix
crogoz f37727f
fix ldd
crogoz e04d97e
test & match CurrentOs
crogoz a756908
test & match CurrentOs
crogoz 422a69c
wip
crogoz 9df726b
test
crogoz 7ace1a5
fix test names
crogoz 3ed5098
Merge branch 'cr/gradle-jdk-script' into cr/wrapper-patching
crogoz b32f333
wip
crogoz 227d4d7
wip
crogoz 2ad913f
classpaths ./gradlew test
crogoz b7aca82
load classpath
crogoz 458d53e
.
crogoz 5483cc3
fix test
crogoz 607293b
split
crogoz f19cb2d
move integration tests
crogoz 7933d69
tests
crogoz e580952
address comments
crogoz d5fbb1f
Merge branch 'develop' into cr/wrapper-patching
crogoz 3a49ce4
Excavator: Upgrade dependencies (#339)
crogoz 3b838d3
Excavator: Upgrades Baseline to the latest version (#340)
svc-excavator-bot 6ee7cb8
Merge branch 'cr/wrapper-patching' of github.com:palantir/gradle-jdks…
crogoz a8a2b76
test works
crogoz 68f0889
Merge branch 'develop' into cr/patching2
crogoz 027406f
test works
crogoz 1d0e1b4
.
crogoz 7ddb086
fix tests
crogoz a0ef1cc
split gradle-jdks-commons & 2 step patched jar
crogoz 488122e
all jdks
crogoz 30d290d
fix tests
crogoz b1512b6
versions
crogoz 8e0ed7b
Merge branch 'develop' into cr/patching2
crogoz 480b7af
tests toolchains
crogoz ba9ff4b
comment
crogoz 1920ab3
message not present all the time
crogoz b520f8e
messages based on gradle versions
crogoz 2b249aa
local gradle-baseline bump
crogoz 93f81af
no windows
crogoz c354fbc
fix
crogoz d2a25b4
fix
crogoz aaf2126
jdk extension created
crogoz 27aa008
.
crogoz 0d939b7
bump gradle-jdks
crogoz 1b0f867
fix test
crogoz 8717b3d
changelog
crogoz 838a200
Merge branch 'develop' into cr/patching2
crogoz 7e2cab0
rename gradle-daemon-jdk-version
crogoz d08cb21
address comments
crogoz e98404b
move the jar to gradle dir
crogoz c8b37a5
Merge branch 'develop' into cr/patching2
crogoz File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
type: improvement | ||
improvement: | ||
description: '[Gradle JDK automanagment] GradleWrapperMain patching' | ||
links: | ||
- https://github.com/palantir/gradle-jdks/pull/341 |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
apply plugin: 'java' | ||
apply plugin: 'com.palantir.external-publish-jar' | ||
|
||
dependencies { | ||
// Avoid adding large compile dependencies here, as they will also be added in the gradle-jdks-setup-all*.jar using the fatJar task | ||
implementation 'com.fasterxml.jackson.core:jackson-annotations' | ||
|
||
testImplementation platform('org.junit:junit-bom:5.9.1') | ||
testImplementation 'org.junit.jupiter:junit-jupiter' | ||
} |
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
Oops, something went wrong.
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.
How are we going to ship the fat jar to people? I guess we don't have the code in the plugin to do this yet (?), but I imagine we're either going to include the fat jar as a resource or download it?
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.
Correct, we don't have yet the code in the plugin to do this yet.
I think it needs to be distributed alongside "./gradle-jdks.setup.sh" and the "gradle/" files. I was thinking of downloading it (similar how the wrapper.jar gets added to a project). I'll do this in the next PR.