Re: Modernize cordova-android build?

2020-06-16 Thread raphinesse
Regarding Gradle: It would really be great if we could work around that "do not distribute JARs" requirement. A good first step would be to see the actual rule that forbids us to do this. In the thread Darryl linked to there was a message exploring some possible workarounds: > Can we cheat and

Re: Modernize cordova-android build?

2020-06-08 Thread Tim Brust
+1 to Norman's statement. However, I believe the PR is not ready to be merged at the moment. On Mon, Jun 8, 2020 at 2:23 PM Norman Breau wrote: > Yes, I had a misunderstanding from the Android documentation, I think > you can use any JDK version as long as it's at least version 8, because > in

Re: Modernize cordova-android build?

2020-06-08 Thread Norman Breau
Yes, I had a misunderstanding from the Android documentation, I think you can use any JDK version as long as it's at least version 8, because in the gradle config, we declare that we want to compile for JDK 1.8 at

Re: Modernize cordova-android build?

2020-06-08 Thread julio cesar sanchez
There is a PR to allow any jdk version, we mistakenly thought java 8 was required for android development, but looks like we were wrong. https://github.com/apache/cordova-android/pull/928 El lunes, 8 de junio de 2020, Darryl Pogue escribió: > On Sun, Jun 7, 2020 at 7:49 PM Chris Brody wrote:

Re: Modernize cordova-android build?

2020-06-07 Thread Darryl Pogue
On Sun, Jun 7, 2020 at 7:49 PM Chris Brody wrote: > > Another thing is that many build systems are now using a Gradle wrapper, > while Cordova still needs the Gradle tool to be installed in its search > path. This may be related to a nasty-looking issue here: >

Modernize cordova-android build?

2020-06-07 Thread Chris Brody
It looks like cordova-android expects Java/JDK 1.8 to be installed. But my understanding is that it should be possible to use a newer OpenJDK version such as 13. See this thread on Homebrew: https://discourse.brew.sh/t/gradle-and-jdk-dependency/7969 As I said in that thread, I was able to use