cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Axel Nennker <>
Subject cordova 5.0.0 and gradle
Date Wed, 22 Apr 2015 09:42:33 GMT

I update to cordova 5 and now my project build fail.

I am behind a corporate proxy
  ignisvulpis@namenlos:~/development/nur_der_hsv$ echo $JAVA_OPTS
and have gradle 2.3 installed
  ignisvulpis@namenlos:~/development/nur_der_hsv$ which gradle

But it seems cordova forces gradle to download gradle version 2.2.1 which

I don't want network access at build-time. We made local copies of all
plugins we need and do a cordova plugin add plugindirectory to add them.
Platforms are downloaded sometimes.

How do I prevent cordova to try to download an older version of gradle?


exerpt from our ant file output:
     [echo] Build and run BasicWallet for: android
     [exec] Running command:
     [exec] ANDROID_HOME=/home/ignisvulpis/Android/Sdk
     [exec] JAVA_HOME=/usr/lib/jvm/java-8-oracle
     [exec] WARNING : No target specified, deploying to device '7ece97a7'.
     [exec] Running:
cdvBuildDebug -b
-PcdvBuildArch=arm -Dorg.gradle.daemon=true
     [exec] Downloading
     [exec] ERROR running one or more of the platforms: Error:
Command failed with exit code 8
     [exec] You may not have the required environment or OS to run this
     [exec] Exception in thread "main" java.lang.RuntimeException: Connection refused
     [exec]     at
     [exec]     at org.gradle.wrapper.Install.createDist(
     [exec]     at
     [exec]     at
     [exec] Caused by: Connection refused
     [exec]     at Method)

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message