packages feed

inline-java 0.8.2 → 0.8.3

raw patch · 4 files changed

+16/−7 lines, 4 files

Files

CHANGELOG.md view
@@ -8,6 +8,12 @@  ### Added +## [0.8.3] - 2018-07-04++### Changed++* Workaround Gradle sometimes trashing output in recent versions.+ ## [0.8.2] - 2018-02-27  ### Changed
README.md view
@@ -11,10 +11,12 @@ import declarations using the FFI. In the style of `inline-c` for C and `inline-r` for calling R, `inline-java` lets you name any function to call inline in your code. It is implemented on top of the-[jni][jni] and [jvm][jvm] packages.+[jni][jni] and [jvm][jvm] packages using a [GHC Core plugin][ghc-plugins]+to orchestrate compilation and loading of the inlined Java snippets.  [jni]: jni/ [jvm]: jvm/+[ghc-plugins]: https://downloads.haskell.org/~ghc/8.0.2/docs/html/users_guide/extending_ghc.html#core-plugins-in-more-detail  ## Example @@ -44,7 +46,7 @@ **Requirements:** * the [Stack][stack] build tool (version 1.2 or above); * either, the [Nix][nix] package manager,-* or, OpenJDK, Gradle and Spark (version 1.6) installed from your distro.+* or, OpenJDK and Gradle installed from your distro.  On OS X, you'll need to install the [Legacy Java SE 6][osx-java-se] runtime when prompted, even when using Nix.@@ -98,11 +100,11 @@ ## Sponsors  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-[![Tweag I/O](http://i.imgur.com/0HK8X4y.png)](http://tweag.io)+[<img src="https://www.tweag.io/img/tweag-med.png" height="65">](http://tweag.io) &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [![LeapYear](http://i.imgur.com/t9VxRHn.png)](http://leapyear.io) -inline-java is maintained by [Tweag I/O](http://tweag.io/).+inline-java is maintained by [Tweag I/O](https://www.tweag.io/).  Have questions? Need help? Tweet at [@tweagio](http://twitter.com/tweagio).
inline-java.cabal view
@@ -1,5 +1,5 @@ name:                inline-java-version:             0.8.2+version:             0.8.3 synopsis:            Java interop via inline Java code in Haskell modules. description:         Please see README.md. homepage:            http://github.com/tweag/inline-java#readme
src/Language/Java/Inline/Cabal.hs view
@@ -71,8 +71,9 @@           , "task classpath { doLast { println sourceSets.main.compileClasspath.getAsPath() } }"           ]       readProcess "gradle" ["-q", "-b", buildfile, "classpath"] ""-        -- trim trailing newlines-        >>= return . concat . lines+        -- Get the last line of output. Sometimes Gradle prepends garbage to the+        -- output despite the -q flag.+        >>= return . last . lines  -- | Prepends the @CLASSPATH@ with the classpath from a Gradle build -- configuration.