[ https://issues.apache.org/jira/browse/KAFKA-2098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14498431#comment-14498431 ]
Ewen Cheslack-Postava commented on KAFKA-2098: ---------------------------------------------- [~alexcb] That works as long as you have a version of gradle that works with the project. The other thing the wrapper does is let the project specify the version of gradle to build with, which makes compatibility simpler -- if you have an older system-installed gradle, the wrapper lets you use a newer version just for that specific project. This makes builds more robust since they don't have to support every version of gradle that people might have installed. Unfortunately the gradlew bootstrapping doesn't work with all versions, which is why Gradle recommends checking in the scripts and jars. For example, setting up Kafka for development on Ubuntu Trusty is kind of a pain right now because the version of Gradle (1.4) is too old to get past the bootstrapping phase, so you still need to download Gradle separately just to bootstrap the wrapper scripts. > Gradle Wrapper Jar gone missing in 0.8.2.1 > ------------------------------------------ > > Key: KAFKA-2098 > URL: https://issues.apache.org/jira/browse/KAFKA-2098 > Project: Kafka > Issue Type: Bug > Components: build > Affects Versions: 0.8.2.1 > Reporter: Rekha Joshi > Assignee: Rekha Joshi > > ./gradlew idea > Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain > This was working in 0.8.2.Attaching patch.Thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)