Skip to content

Problem using leiningen #170

Open
Open
@lucasemmoreira

Description

@lucasemmoreira

hey there!

I am trying to use your package but I am having some issues. I created a very simple project with

lein new app ui

and added the package to the dependency as such

(defproject ui "0.1.0-SNAPSHOT"
  :description "FIXME: write description"
  :url "http://example.com/FIXME"
  :license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
            :url "https://www.eclipse.org/legal/epl-2.0/"}
  :dependencies [[org.clojure/clojure "1.11.1"]
                 [cljfx "1.7.22"]]
  :main ^:skip-aot ui.core
  :target-path "target/%s"
  :profiles {:uberjar {:aot :all
                       :jvm-opts ["-Dclojure.compiler.direct-linking=true"]}})

however, when I try to get the dependencies with lein deps, it pulls a bunch of stuff, but then I get this:

Could not find artifact org.openjfx:javafx-controls:jar:${javafx.platform}:17.0.2 in central (https://repo1.maven.org/maven2/)
Could not find artifact org.openjfx:javafx-controls:jar:${javafx.platform}:17.0.2 in clojars (https://repo.clojars.org/)
Could not find artifact org.openjfx:javafx-base:jar:${javafx.platform}:17.0.2 in central (https://repo1.maven.org/maven2/)
Could not find artifact org.openjfx:javafx-base:jar:${javafx.platform}:17.0.2 in clojars (https://repo.clojars.org/)
Could not find artifact org.openjfx:javafx-graphics:jar:${javafx.platform}:17.0.2 in central (https://repo1.maven.org/maven2/)
Could not find artifact org.openjfx:javafx-graphics:jar:${javafx.platform}:17.0.2 in clojars (https://repo.clojars.org/)
Could not find artifact org.openjfx:javafx-media:jar:${javafx.platform}:17.0.2 in central (https://repo1.maven.org/maven2/)
Could not find artifact org.openjfx:javafx-media:jar:${javafx.platform}:17.0.2 in clojars (https://repo.clojars.org/)
Could not find artifact org.openjfx:javafx-web:jar:${javafx.platform}:17.0.2 in central (https://repo1.maven.org/maven2/)
Could not find artifact org.openjfx:javafx-web:jar:${javafx.platform}:17.0.2 in clojars (https://repo.clojars.org/)

I tried changed to the 1.21, but with no luck...

Can anyone give me a hand?

Thx!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions