Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
contents: read
strategy:
matrix:
java: [8, 11, 17, 21]
java: [8, 11, 17, 21, 25]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
env:
Expand All @@ -31,7 +31,14 @@ jobs:
- name: Install libraries
run: |
sudo apt-get install -y libblosc1
- name: Run with latest Gradle
if: matrix.java == 25
run: |
wget https://services.gradle.org/distributions/gradle-9.2.1-bin.zip
unzip gradle-9.2.1-bin.zip
./gradle-9.2.1/bin/gradle ${{ env.gradle_commands }}
- name: Run commands
if: matrix.java != 25
run: |
./gradlew ${{ env.gradle_commands }}
- name: Upload artifacts
Expand Down
13 changes: 9 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,14 @@ plugins {
group = 'com.glencoesoftware'
version = '0.12.0-SNAPSHOT'

mainClassName = 'com.glencoesoftware.bioformats2raw.Converter'
sourceCompatibility = 1.8
targetCompatibility = 1.8
application {
mainClass = 'com.glencoesoftware.bioformats2raw.Converter'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
}

repositories {
mavenLocal()
Expand Down Expand Up @@ -75,7 +80,7 @@ jar {
"Implementation-Title": "bioformats2raw converter",
"Implementation-Version": archiveVersion,
"Implementation-Vendor": "Glencoe Software Inc.",
"Main-Class": mainClassName
"Main-Class": application.mainClass
)
}
}
Expand Down