|
|
|
@ -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 "../" |
|
|
|
|