From: Mike R. <mro...@ya...> - 2018-01-20 13:45:36
|
Has anyone succeeded in getting Jython to work with Gradle? I'm aware of two Jython-Gradle plugins: com.github.rzabini.gradle-jyton com.github.hierynomus.jython ... but both of these seem to have been put together for purely Python-oriented purposes. In fact I opened an "issue" with the rzabini Github project and the author said he didn't know how to get this done. The other one hasn't replied at the time of writing but I don't hold out that much hope. It is slightly frustrating as one should be able to do this moderately easily, I would have thought, given that the .jars can be on either the PYTHONPATH or the CLASSPATH. The problem being that Gradle handles dependency management automatically, squirrelling away dependency jars in quite complicated paths under GRADLE_HOME. Unfortunately I don't know enough about the internal workings of Gradle to have much of a clue about this. HINT (!): Jim Baker himself said, in Jan 2016, that Gradle use would be a "top priority" for 2.7.2.: Issue 2182: Build Jython with Gradle - Jython tracker | | | Issue 2182: Build Jython with Gradle - Jython tracker | | | |