Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove synthetic accessors for internal private symbol references

  1. … 901 more files in changeset.
Remove synthetic accessors for internal private symbol references

  1. … 901 more files in changeset.
Add missing @Override to all modules

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 1003 more files in changeset.
Add missing @Override to all modules

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 997 more files in changeset.
spelling: provided

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

spelling: delegate

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Signed-off-by: Bo Zhang <bo@gradle.com>

Merge branch 'release'

De-incubate 3.x package-info files

And files we missed due to moving things to coreApi.

    • -1
    • +0
    ./gradle/authentication/aws/package-info.java
  1. … 32 more files in changeset.
De-incubate S3Client constructor

De-incubate AwsImAuthentication

Bundle JAXB into Gradle distribution and use it on Java 9 and above

In order to use S3 backed artifact repositories, it was previously

required to add `--add-modules java.xml.bind` to `org.gradle.jvmargs`

when running on Java 9 and above. Since Java 11 no longer contains the

`java.xml.bind` module, Gradle now bundles JAXB 2.3.1

(`com.sun.xml.bind:jaxb-impl`) and uses it on Java 9 and above.

  1. … 16 more files in changeset.
Give S3 bucket owner full control over published artifacts

Now the canned ACL `bucket-owner-full-control` is used for uploading

artifacts to S3 buckets to ensure the bucket owner has permission to

read and manage them.

Fixes #5233.

Signed-off-by: Salvian Reynaldi <salvian@traveloka.com>

  1. … 4 more files in changeset.
Fix S3Client tests that require JAXB

- Add the javax.xml.bind module when running on JDK >= 9

- Delete test for exception message when javax.xml.bind is not present

because it would require another VM which seems overkill for this

simple scenario.

- Fix exception message to use `--add-modules` instead of `-addmods`

which was only present in early access releases.

Issue: gradle/gradle-private#1199

  1. … 3 more files in changeset.
Revert auto optimized import

Signed-off-by: Dennis Hoer <dennis.hoer@pearson.com>

S3Client disable chunked encoding

Signed-off-by: Dennis Hoer <dennis.hoer@pearson.com>

Add @SuppressWarnings("deprecation")

Signed-off-by: Dennis Hoer <dennis.hoer@pearson.com>

  1. … 1 more file in changeset.
Touch

Signed-off-by: Dennis Hoer <dennis.hoer@pearson.com>

Fix #4012 AWS Java SDK libraries are too old

Signed-off-by: Dennis Hoer <dennis.hoer@pearson.com>

  1. … 2 more files in changeset.
Fix typo on S3 AwsImAuthentication

  1. … 1 more file in changeset.
Renamed a class.

  1. … 26 more files in changeset.
Moved a class to remove package cycle.

  1. … 22 more files in changeset.
Introduce a ExecutionScopeServices between BuildSession and Build scopes

- This isn't wired into anything, so no services actually work yet.

  1. … 30 more files in changeset.
Address code review comments

+review REVIEW-6323

  1. … 2 more files in changeset.
Ensure ExternalResourceReadResponse are correctly closed

Digged inside the code to find all code path leading to the

instantiation of ExternalResourceReadResponse class and verify the

resource is properly closed.

+review REVIEW-6323

  1. … 5 more files in changeset.
Merge branch 'max-age' of https://github.com/DanielThomas/gradle into DanielThomas-max-age

  1. … 8 more files in changeset.
Merge pull request #690 from kiddouk:story/S3-repository-can-be-configured-to-authenticate-using-AWS-EC2-instance-metadata

S3 repository can authenticate using AWS EC2 instance metadata

* This is related to https://github.com/gradle/gradle/blob/c2dc9979706e6b3beca13f1de860834e9255fb1b/design-docs/finding-and-using-credentials.md#story-an-s3-repository-can-be-configured-to-authenticate-using-awss-ec2-instance-metadata

* Note that the AWS S3 Client implementation will now use the following

credentials (in this specific order)

- Environment (AWS_ACCESS_KEY, AWS_SECRET_ACCESS_KEY,

AWS_SESSION_TOKEN)

- Java System Properties - aws.accessKeyId and aws.secretKey

- Credential profiles file at the default

location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI

- Instance Profile Credentials - delivered through the Amazon EC2

metadata service

* The implementation assumes that only ONE authentication can be used

per s3-resource at a time

* This patch enforces that each Authentication now declares

`requiresCredentials` to be explicit

Integration tests:

Note that we cannot mock the instance meta data since it uses the ip

169.254.169.254 so we mock the system properties that the client

CredentialsProviderChain will look for.

    • -0
    • +25
    ./gradle/authentication/aws/package-info.java
  1. … 17 more files in changeset.
Polish release notes for S3 publishing

+review REVIEW-6072

  1. … 2 more files in changeset.
Allow resolving from S3 on Java 9 without java.xml.bind

We only need the java.xml.bind Jigsaw module for uploading,

resolving works fine without it.

+review REVIEW-6072

  1. … 2 more files in changeset.
Fix checkstyle issue

Add helpful error message when using S3Client on Java 9

  1. … 3 more files in changeset.