[
https://issues.apache.org/jira/browse/KAFKA-1372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stevo Slavic updated KAFKA-1372:
--------------------------------
Attachment: 0001-KAFKA-1372-Upgrade-to-Gradle-1.10.patch
Attaching updated [^0001-KAFKA-1372-Upgrade-to-Gradle-1.10.patch].
Newly added to the patch is changed Gradle distribution URL configuration for
the Gradle wrapper.
Gradle guys moved Gradle distribution archives hosting to a different domain,
and even though they configured permanent redirect for old location, Gradle
wrapper doesn't follow redirects. So, if one had empty or cleared local cache
of wrapper downloaded Gradle distributions, and used old URL, wrapper would
reports it managed to download distribution archive, but actually archive
contains HTTP redirect response, so unpacking archive and running Gradle fails.
Issue is reported to Gradle guys (see
[here|http://forums.gradle.org/gradle/topics/gradle_wrapper_does_not_follow_redirects]).
Not to wait for wrapper fix, the patch updates wrapper configuration to use
new location so even existing wrappers will be able to fetch Gradle
distribution archives and run the build.
> Upgrade to Gradle 1.10
> ----------------------
>
> Key: KAFKA-1372
> URL: https://issues.apache.org/jira/browse/KAFKA-1372
> Project: Kafka
> Issue Type: Task
> Components: tools
> Affects Versions: 0.8.1
> Reporter: Stevo Slavic
> Priority: Minor
> Labels: gradle
> Attachments: 0001-KAFKA-1372-Upgrade-to-Gradle-1.10.patch,
> 0001-KAFKA-1372-Upgrade-to-Gradle-1.10.patch,
> 0001-KAFKA-1372-Upgrade-to-Gradle-1.11.patch
>
>
> Currently used version of Gradle wrapper is 1.6 while 1.11 is available.
--
This message was sent by Atlassian JIRA
(v6.2#6252)