diff --git a/gradle.properties b/gradle.properties index 983d43d45..2873fd804 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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" \ No newline at end of file diff --git a/sdk/build.gradle b/sdk/build.gradle index 78765254f..67821fd41 100644 --- a/sdk/build.gradle +++ b/sdk/build.gradle @@ -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 "../"