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

Solve Gradle deprecation warnings around shadowJar #30483

Merged
merged 2 commits into from
May 10, 2018

Conversation

alpar-t
Copy link
Contributor

@alpar-t alpar-t commented May 9, 2018

Changes between 2.0.2 and 2.0.4 of the plugin:

477db40 12 days ago [email protected] Release 2.0.4
3e3da37 3 weeks ago [email protected] Remove internal Gradle API and annotation internal getters on shadow jar.
31e2380 3 weeks ago [email protected] Close input streams. Closes #364
f712cc8 3 weeks ago [email protected] Upgrade ASM to 6.1.1 to address perf issues. Closes #374
2f94b2b 3 weeks ago [email protected] next version
23bbf3d 7 weeks ago [email protected] Add some gradle versions. Update changelog for 2.0.3
7435c74 7 weeks ago [email protected] Merge pull request #367 from ttsiebzehntt/366-java10
325c002 7 weeks ago [email protected] Update ASM to 6.1
94550e5 3 months ago [email protected] Merge pull request #356 from sgnewson/update-file-to-files
66b691e 4 months ago [email protected] Merge pull request #358 from 3flex/patch-1
14761b1 4 months ago [email protected] fix markdown for User Guide URL in issue template
a3f6984 4 months ago [email protected] update inputs.file to inputs.files, to remove warning

closes #30475

- Apply workaround for: GradleUp/shadow#336
- bump plugin to 2.0.4

Changes between 2.0.2 and 2.0.4 of the plugin:
```
477db40 12 days ago [email protected] Release 2.0.4
3e3da37 3 weeks ago [email protected] Remove internal Gradle API and annotation internal getters on shadow jar.
31e2380 3 weeks ago [email protected] Close input streams. Closes elastic#364
f712cc8 3 weeks ago [email protected] Upgrade ASM to 6.1.1 to address perf issues. Closes elastic#374
2f94b2b 3 weeks ago [email protected] next version
23bbf3d 7 weeks ago [email protected] Add some gradle versions. Update changelog for 2.0.3
7435c74 7 weeks ago [email protected] Merge pull request elastic#367 from ttsiebzehntt/366-java10
325c002 7 weeks ago [email protected] Update ASM to 6.1
94550e5 3 months ago [email protected] Merge pull request elastic#356 from sgnewson/update-file-to-files
66b691e 4 months ago [email protected] Merge pull request elastic#358 from 3flex/patch-1
14761b1 4 months ago [email protected] fix markdown for User Guide URL in issue template
a3f6984 4 months ago [email protected] update inputs.file to inputs.files, to remove warning
```

closes elastic#30389
@alpar-t alpar-t added >non-issue :Delivery/Build Build or test infrastructure labels May 9, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

Copy link
Member

@jasontedor jasontedor left a comment

Choose a reason for hiding this comment

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

LGTM.

Copy link
Contributor

@hub-cap hub-cap left a comment

Choose a reason for hiding this comment

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

nit: i might add a note that the order of this section matters so we dont have to look at the github link to see that, since it was buried in a comment in that line. Im sure no one will mess w/ it but its good to have that certainty maybe?

Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

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

LGTM.


// needs to be set here see: https://github.com/johnrengelman/shadow/issues/336
apply plugin: 'application' // have the shadow plugin provide the runShadow task
mainClassName = 'org.openjdk.jmh.Main'
Copy link
Member

Choose a reason for hiding this comment

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

I agree with @hub-cap. This line should be documented to explain it must come before the shadow plugin directly below.

@alpar-t alpar-t merged commit 84660ff into elastic:master May 10, 2018
@alpar-t alpar-t deleted the fix/30475 branch May 10, 2018 09:49
dnhatn added a commit that referenced this pull request May 10, 2018
* master:
  Upgrade to Lucene-7.4-snapshot-6705632810 (#30519)
  add version compatibility from 6.4.0 after backport, see #30319 (#30390)
  Security: Simplify security index listeners (#30466)
  Add proper longitude validation in geo_polygon_query (#30497)
  Remove Discovery.AckListener.onTimeout() (#30514)
  Build: move generated-resources to build (#30366)
  Reindex: Fold "with all deps" project into reindex (#30154)
  Isolate REST client single host tests (#30504)
  Solve Gradle deprecation warnings around shadowJar (#30483)
  SAML: Process only signed data (#30420)
  Remove BWC repository test (#30500)
  Build: Remove xpack specific run task (#30487)
  AwaitsFix IntegTestZipClientYamlTestSuiteIT#indices.split tests
  LLClient: Add setJsonEntity (#30447)
  Expose CommonStatsFlags directly in IndicesStatsRequest. (#30163)
  Silence IndexUpgradeIT test failures. (#30430)
  Bump Gradle heap to 1792m (#30484)
  [docs] add warning for read-write indices in force merge documentation (#28869)
  Avoid deadlocks in cache (#30461)
  Test: remove hardcoded list of unconfigured ciphers (#30367)
  mute SplitIndexIT due to #30416
  Docs: Test examples that recreate lang analyzers  (#29535)
  BulkProcessor to retry based on status code (#29329)
  Add GET Repository High Level REST API (#30362)
  add a comment explaining the need for RetryOnReplicaException on missing mappings
  Add `coordinating_only` node selector (#30313)
  Stop forking groovyc (#30471)
  Avoid setting connection request timeout (#30384)
  Use date format in `date_range` mapping before fallback to default (#29310)
  Watcher: Increase HttpClient parallel sent requests (#30130)

# Conflicts:
#	x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/LocalStateCompositeXPackPlugin.java
martijnvg added a commit to martijnvg/elasticsearch that referenced this pull request May 14, 2018
* es/ccr: (78 commits)
  Upgrade to Lucene-7.4-snapshot-6705632810 (elastic#30519)
  add version compatibility from 6.4.0 after backport, see elastic#30319 (elastic#30390)
  Security: Simplify security index listeners (elastic#30466)
  Add proper longitude validation in geo_polygon_query (elastic#30497)
  Remove Discovery.AckListener.onTimeout() (elastic#30514)
  Build: move generated-resources to build (elastic#30366)
  Reindex: Fold "with all deps" project into reindex (elastic#30154)
  Isolate REST client single host tests (elastic#30504)
  Solve Gradle deprecation warnings around shadowJar (elastic#30483)
  SAML: Process only signed data (elastic#30420)
  Remove BWC repository test (elastic#30500)
  Build: Remove xpack specific run task (elastic#30487)
  AwaitsFix IntegTestZipClientYamlTestSuiteIT#indices.split tests
  Enable soft-deletes in v6.4
  LLClient: Add setJsonEntity (elastic#30447)
  [CCR] Read changes from Lucene instead of translog (elastic#30120)
  Expose CommonStatsFlags directly in IndicesStatsRequest. (elastic#30163)
  Silence IndexUpgradeIT test failures. (elastic#30430)
  Bump Gradle heap to 1792m (elastic#30484)
  [docs] add warning for read-write indices in force merge documentation (elastic#28869)
  ...
@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Build Build or test infrastructure >non-issue Team:Delivery Meta label for Delivery team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gradle deprication warnings arround task inputs, outputs and mainClassName
6 participants