- move netbeans download URL to gradle.properties

experimental
Normen Hansen 10 years ago
parent ec183e1eea
commit ef47f61f72
  1. 3
      gradle.properties
  2. 2
      sdk/build.gradle

@ -17,3 +17,6 @@ ndkPath = /opt/android-ndk-r10c
bulletUrl = http://bullet.googlecode.com/files/bullet-2.82-r2704.zip
bulletFolder = bullet-2.82-r2704
bulletZipFile = bullet.zip
# Path for downloading NetBeans Base
netbeansUrl = "http://download.netbeans.org/netbeans/8.0/final/zip/netbeans-8.0-201403101706-javase.zip"

@ -50,7 +50,7 @@ task checkPlatformConfig {
if(!netbeansFolder.exists()){
println "Downloading NetBeans Platform base, this only has to be done once.."
def f = file("netbeans.zip")
new URL("http://download.netbeans.org/netbeans/8.0/final/zip/netbeans-8.0-201403101706-javase.zip").withInputStream{ i -> f.withOutputStream{ it << i }}
new URL(netbeansUrl).withInputStream{ i -> f.withOutputStream{ it << i }}
copy{
from zipTree(f)
into "../"

Loading…
Cancel
Save