bitcoinj / secp256k1-jdk

Java library providing Bitcoin-related Elliptic Curve Cryptography
Apache License 2.0
8 stars 3 forks source link

build.gradle: Enable reading toolchain vendor from gradle.properties #35

Closed msgilligan closed 5 months ago

msgilligan commented 5 months ago

This allows users to override the JDK vendor by editing gradle.properties.

For example, if you have installed JDK 22 via Nix and set the JDK22 environment variable to point to the Nix-installed JDK, but you have other version 22 JDKs installed in places where Gradle might look, you can set the vendor to Azul to convince Gradle to use it (unless you have another copy of an Azul JDK 22.)