Java and Clojure with Leiningen

前端 未结 3 1044
逝去的感伤
逝去的感伤 2020-12-04 14:21

Is it possible to easily manage and compile native Java classes alongside Clojure in a project using leiningen?

I am working at a pretty low level (with netty nio)

3条回答
  •  情话喂你
    2020-12-04 14:54

    As of Leiningen 2.x, :java-source-path has been replaced with :java-source-paths, whose value is now specified as a vector rather than a string.

    A good place to find a full (up-to-date) documentation of Leiningen features is to peruse the sample project file. In this case, you will see:

    :java-source-paths ["src/main/java"]

提交回复
热议问题