KilianB / JImageHash

Perceptual image hashing library used to match similar images
MIT License
397 stars 80 forks source link

Can this be built with Java 17? Do you see a issue with that? #68

Open gmaxim-byx opened 1 year ago

gmaxim-byx commented 1 year ago

Can this be built with Java 17? Do you see a issue with that? @KilianB

ArrowM commented 11 months ago

Hey this is a little late, but I've got it working with Java 20:

build.gradle

plugins {
    id 'java'
    id 'org.openjfx.javafxplugin' version '0.0.14'
}

// ...

dependencies {
   implementation group: 'dev.brachtendorf', name: 'JImageHash', version: '1.0.0'
   implementation group: 'org.openjfx', name: 'javafx', version: '20.0.2', ext: 'pom'
   // ...
}

javafx {
    version = "20"
    modules = [ 'javafx.base', 'javafx.graphics' ]
}