Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 240661179E for ; Wed, 18 Jun 2014 15:45:57 +0000 (UTC) Received: (qmail 33225 invoked by uid 500); 18 Jun 2014 15:45:56 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 33186 invoked by uid 500); 18 Jun 2014 15:45:56 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 33170 invoked by uid 99); 18 Jun 2014 15:45:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jun 2014 15:45:56 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bowserj@gmail.com designates 209.85.128.169 as permitted sender) Received: from [209.85.128.169] (HELO mail-ve0-f169.google.com) (209.85.128.169) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jun 2014 15:45:50 +0000 Received: by mail-ve0-f169.google.com with SMTP id pa12so1036067veb.28 for ; Wed, 18 Jun 2014 08:45:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=01GmbPzISwyL4zYE1uc19LxIEmXYJx4Enwo3w7OQjy0=; b=HP6elR5tqNZ8HrSGTQ+7EDVz0MNXSOWCRx0ASBK/Qzjo2S+sLRAoIqQOJf6WRtTkKi O7vVTuGnYJ3yMvRyPcOXQaDEiGKA5WCo06M70YJl7VTyIF9+j4wth2OPA+OOMppfcpRg JUxyHwbv4XQcj0nz8vgUUzg5ZyOSMpN3tgXjM4rZEKKEXa50WnK8c4yN4Tss6MNOwpWl qyFzBIustScw4WdSNC7cIqZ+RTWUqR8RKaO/E0s8NsNYye3PkRGEYwd/8ycI9+/sEVyB vLAqLJ/8wniGWeoaII8BUmQMP/YjJiLghQbw4FHLGJAZGvLvAPRj8GIbQXSv4o1bVkVO UTPA== MIME-Version: 1.0 X-Received: by 10.58.168.146 with SMTP id zw18mr1954138veb.32.1403106330266; Wed, 18 Jun 2014 08:45:30 -0700 (PDT) Received: by 10.220.241.208 with HTTP; Wed, 18 Jun 2014 08:45:30 -0700 (PDT) In-Reply-To: References: Date: Wed, 18 Jun 2014 08:45:30 -0700 Message-ID: Subject: Re: Using Gradle in an Apache Project From: Joe Bowser To: dev Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org The Android Dev Tools generate a gradle project by default. Where does it store gradle-wrapper? On Wed, Jun 18, 2014 at 7:59 AM, Josh Soref wrote: > Ian Clelland wrote: >>But Gradle is a Java project, and so the script invokes Java, and makes >>use >>of a bundled .jar file, and therein lies the problem: We're not supposed >>to >>be including compiled JAR files in our repository. >> >>In this case, the .jar isn't actually part of our code; it's just used by >>the build, and including it makes it closer to trivial for developers to >>start building Cordova projects. It's easy to recreate, too, once you have >>Gradle installed, it's as easy as running "gradle wrapper" to get it to >>rebuild the wrapper, jar and all. The catch is that you already have to >>have gradle installed for that to work. Egg, meet chicken. > > Can we cheat and just have a script that uses curl/wget to retrieve Gradle > from Apache's dist directory? > > Or, could we publish Gradle to npm and then have our thing depend on > cordova-gradle ? >