Commit Graph

23 Commits

Author SHA1 Message Date
Sean Gilligan
b37f5ff735 gradle.yml: update Gradle to 7.4.2 2022-04-01 20:47:28 +02:00
Sean Gilligan
09203438c3 gradle.yml: add JDK 18 to build matrix 2022-03-31 19:01:48 +02:00
Sean Gilligan
c0f8a87f16 gradle.yml: update setup-java to v3 2022-03-06 20:16:52 +01:00
Sean Gilligan
1ad6c0d7d0 gradle.yml: add name to “Git checkout” step 2022-03-05 13:02:59 +01:00
Sean Gilligan
82d17810fd gradle.yml: update Gradle to 7.4 2022-03-05 00:11:13 +01:00
Sean Gilligan
bd6e1c6a09 build.gradle: Add testOnJdk8 task (if Gradle > 6.7)
* testOnJdk8 is not run by default
* If testJdk8 Gradle property is set, run testOnJdk8 as part of `check`
* Set testJdk8 in gradle.yml Github Actions workflow
2022-01-01 13:53:39 +01:00
Sean Gilligan
a2cf303655 build.gradle: require JDK 11 for the build
Uses javac -release option to validate API for older JDK.
2021-12-24 11:35:37 +01:00
Sean Gilligan
74c1c2228e Github Actions: update Gradle to 7.3.2
Notable changes:

* Gradle 7.3 is the first Gradle release to officially
  support JDK 17
* Gradle 7.3.2 includes log4j mitigations to protect against
  build dependencies pulling in the bad log4j.
2021-12-23 09:53:38 +01:00
Sean Gilligan
da5202c3b7 GitHub Actions: add special case for Gradle 4.10/JDK11/Ubuntu
This is the “closest” Github Actions config we can get to our
target Debian build (Debian Bullseye/JDK11/Debian Gradle 4.4).
2021-09-23 21:37:30 +02:00
Sean Gilligan
744480be89 GitHub Actions: in the build matrix, update JDK 16 to JDK 17 LTS 2021-09-23 21:29:56 +02:00
Sean Gilligan
08a9853c40 GitHub Actions: Add JDK 16 to build matrix 2021-09-20 18:23:13 +02:00
Sean Gilligan
8708f08b1b GitHub Actions: upgrade to Gradle 7 2021-09-08 20:29:36 +02:00
Sean Gilligan
41cc820ab5 GitHub Actions: parameterize JDK distro & Gradle version
Add the parameters, but don’t change what tests
are run.
2021-09-08 20:23:40 +02:00
Sean Gilligan
a29aa8df5c Github Actions: Use ‘temurin’ JDK 8 + 11
Temurin is the Eclipse Foundation’s successor to AdoptOpenJDK
and is likely to continue to be the most widely-used community
distribution.

Unfortunately, Temurin only provides JDK 8, 11, and 16,
and since bitcoinj can’t yet be built with JDK 16, we’ll
drop the JDK 15 build without replacing it with JDK 16.
2021-08-31 18:46:07 +02:00
Sean Gilligan
dbbd1a8470 Github Actions: Build with Gradle 6.9
Use the `gradle/gradle-build-action` to build with a specified
version of Gradle. In our case, let’s use Gradle 6.9.
2021-08-13 17:42:16 -07:00
Sean Gilligan
02ee7cc3b4 GitHub Actions: Build with JDK 15 rather than 14. 2020-09-20 09:46:43 +02:00
Sean Gilligan
e1b8a43bb2 GitHub Actions: Re-enable windows-latest checks. 2020-08-26 11:46:31 +02:00
Sean Gilligan
713e23027b GitHub Actions: Upload test results as artifacts. 2020-08-19 20:50:05 +02:00
Sean Gilligan
7c30810ae9 gradle.yml: Add JDK 14 to GitHub Actions build matrix. 2020-04-25 12:05:24 +02:00
Sean Gilligan
d61880b52e gradle.yml: Disable windows-latest as a workaround for the build failures. 2020-04-25 12:00:29 +02:00
Sean Gilligan
33a1c949b0 Rename .github/workflow to .github/workflows
This should fix GitHub Actions.
2020-03-12 00:34:54 +01:00
Sean Gilligan
4acde579ee Add Github Actions workflow gradle.yml
Use Github Actions built-in Gradle 5.6.2

Github Actions virtual environments all include
a pre-installed Gradle that is 5.6 or later, so
we can just build with it without using the wrapper.
2019-10-14 00:24:15 +02:00
Andreas Schildbach
df9f5a479d Add simple contributing guidelines. 2018-05-18 16:21:04 +02:00