- move netbeans download URL to gradle.properties

This commit is contained in:
Normen Hansen 2015-01-14 00:28:39 +01:00
parent ec183e1eea
commit ef47f61f72
2 changed files with 4 additions and 1 deletions

View File

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

View File

@ -50,7 +50,7 @@ task checkPlatformConfig {
if(!netbeansFolder.exists()){ if(!netbeansFolder.exists()){
println "Downloading NetBeans Platform base, this only has to be done once.." println "Downloading NetBeans Platform base, this only has to be done once.."
def f = file("netbeans.zip") 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{ copy{
from zipTree(f) from zipTree(f)
into "../" into "../"