Skip to content

Commit

Permalink
Source compatibility and gradlew version 7.4.2 set-up
Browse files Browse the repository at this point in the history
  • Loading branch information
napoly committed Jan 30, 2024
1 parent ea04428 commit 976e9da
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,25 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
java: [ '8', '11', '15' ]
# windows-latest --> no leveldbjni64-1.8 in java.library.path
os: [ubuntu-latest, macOS-latest]
java: [ '8', '11', '17' ]
fail-fast: false
name: JAVA ${{ matrix.java }} OS ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
gradle-version: 8.4
gradle-version: 7.4.2
arguments: build --stacktrace
- name: Upload Test Results and Reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: bitcoinj-core-test-results-jdk${{ matrix.java }}-${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies {
testImplementation 'org.fusesource.leveldbjni:leveldbjni-all:1.8'
}

sourceCompatibility = 1.7
sourceCompatibility = 1.8
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
javadoc.options.encoding = 'UTF-8'
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/org/bitcoinj/core/VersionMessage.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
public class VersionMessage extends Message {

/** The version of this library release, as a string. */
public static final String BITCOINJ_VERSION = "0.15.10.bisq.16";
public static final String BITCOINJ_VERSION = "0.15.11.bisq.16";
/** The value that is prepended to the subVer field of this application. */
public static final String LIBRARY_SUBVER = "/bitcoinj:" + BITCOINJ_VERSION + "/";

Expand Down

0 comments on commit 976e9da

Please sign in to comment.