- move netbeans download URL to gradle.properties
This commit is contained in:
parent
ec183e1eea
commit
ef47f61f72
@ -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…
x
Reference in New Issue
Block a user