Skip to content
This repository was archived by the owner on Oct 17, 2023. It is now read-only.

Commit 2a99f2d

Browse files
authored
Cross compile for Java 8 (#129)
* cross compile java 8 * remove jdk 8 and 9 which cant build with release flag
1 parent 4072e04 commit 2a99f2d

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/gradle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
matrix:
1717
# test against latest update of each major Java version, as well as specific updates of LTS versions:
18-
java: [ 8, 9, 10, 11, 12, 13, 14, 15 ]
18+
java: [ 10, 11, 12, 13, 14, 15 ]
1919
name: Java ${{ matrix.java }}
2020
steps:
2121
- uses: actions/checkout@v2

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
Get your Java app connected to HelloSign's API in jiffy.
55

6+
To build this project you'll need JDK 9+ but the release artifacts support JRE 8+.
7+
68
## Installing
79

810
SDK releases are published to Maven's [Central repository](https://repo1.maven.org/maven2/com/hellosign/hellosign-java-sdk/):

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ apply plugin: 'signing'
44

55
tasks.withType(JavaCompile) {
66
options.encoding = 'UTF-8'
7+
options.compilerArgs.addAll(['--release', '8']) // for java 8 cross-compilation
78
}
89

910
task javadocJar(type: Jar) {

0 commit comments

Comments
 (0)