RFR: 7902924: Add build script for jtreg plugin [v4]

Maurizio Cimadamore mcimadamore at openjdk.java.net
Wed May 5 14:10:21 UTC 2021


> This patch adds support for building the jtreg plugin with gradle.
> 
> This is a much more stable way to build the plugin, as the IntelliJ build dependency is automatically downloaded by gradle.
> 
> The build relies on the IntelliJ support for gradle-ized plugins:
> 
> https://github.com/JetBrains/gradle-intellij-plugin
> 
> Which is officially supported by JetBrains, see:
> 
> https://plugins.jetbrains.com/docs/intellij/gradle-build-system.html
> 
> 
> The only thing that needs to be done by developers before firing up a gradle build, is to specify the path of a jtreg root in the gradle.properties file. Everything else should work out of the box.
> 
> I have also updated build instructions to reflect the new build system.
> 
> Please let me know if this is an improvement over the build steps we had before (I think it is, but I have not tested this extensively).

Maurizio Cimadamore has updated the pull request incrementally with two additional commits since the last revision:

 - Update jtreg root to point to non-existent folder
 - Exclude IntelliJ project files

-------------

Changes:
  - all: https://git.openjdk.java.net/jtreg/pull/9/files
  - new: https://git.openjdk.java.net/jtreg/pull/9/files/a593eeb9..aba2992a

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jtreg&pr=9&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jtreg&pr=9&range=02-03

  Stats: 2 lines in 2 files changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jtreg/pull/9.diff
  Fetch: git fetch https://git.openjdk.java.net/jtreg pull/9/head:pull/9

PR: https://git.openjdk.java.net/jtreg/pull/9


More information about the jtreg-dev mailing list