forked from ScoopInstaller/Extras
-
Notifications
You must be signed in to change notification settings - Fork 0
/
apache-ivy.json
40 lines (40 loc) · 1.27 KB
/
apache-ivy.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"version": "2.4.0",
"license": "Apache-2.0",
"url": "https://www.apache.org/dist/ant/ivy/2.4.0/apache-ivy-2.4.0-bin.zip",
"homepage": "https://ant.apache.org/ivy/index.html",
"hash": "sha1:3cea604f019b19562c715be63f98a7f2197f2d03",
"depends": "ant",
"extract_dir": "apache-ivy-2.4.0",
"autoupdate": {
"url": "https://www.apache.org/dist/ant/ivy/$version/apache-ivy-$version-bin.zip",
"extract_dir": "apache-ivy-$version",
"hash": {
"url": "$url.sha"
}
},
"checkver": {
"url": "https://ant.apache.org/ivy/download.cgi",
"re": "/([\\d.]+)/"
},
"suggest": {
"JDK": [
"java/oraclejdk",
"java/openjdk"
]
},
"installer": {
"script": [
"$antLibPath = \"$(appsdir $global)\\ant\\current\\lib\"",
"Write-Host -fore blue \"Copying ivy-$version.jar to $antLibPath\"",
"Copy-Item \"$dir\\ivy-$version.jar\" $antLibPath"
]
},
"uninstaller": {
"script": [
"$antLibPath = \"$(appsdir $global)\\ant\\current\\lib\"",
"Write-Host -fore blue \"Removing ivy-$version.jar from $antLibPath\"",
"Remove-Item -force $antLibPath\\ivy-$version.jar"
]
}
}