Skip to content

Commit

Permalink
Use official Apache Ant site instead of mirror (#330)
Browse files Browse the repository at this point in the history
[Fixes sc-5859]
  • Loading branch information
zombiezen authored Sep 29, 2021
1 parent dfbe876 commit e48ce4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/buildpack/ant.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func installAnt(ctx context.Context, sys Sys, spec yb.BuildpackSpec) (biome.Envi
}

log.Infof(ctx, "Installing Ant v%s in %s", spec.Version(), antDir)
downloadURL := fmt.Sprintf("https://mirrors.sonic.net/apache/ant/binaries/apache-ant-%s-bin.zip", spec.Version())
downloadURL := fmt.Sprintf("https://archive.apache.org/dist/ant/binaries/apache-ant-%s-bin.zip", spec.Version())
if err := extract(ctx, sys, antDir, downloadURL, stripTopDirectory); err != nil {
return biome.Environment{}, err
}
Expand Down

0 comments on commit e48ce4d

Please sign in to comment.