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 D6E4B11562 for ; Tue, 17 Jun 2014 13:30:42 +0000 (UTC) Received: (qmail 81482 invoked by uid 500); 17 Jun 2014 13:30:42 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 81442 invoked by uid 500); 17 Jun 2014 13:30:42 -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 81426 invoked by uid 99); 17 Jun 2014 13:30:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jun 2014 13:30:42 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of iclelland@google.com designates 209.85.219.45 as permitted sender) Received: from [209.85.219.45] (HELO mail-oa0-f45.google.com) (209.85.219.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jun 2014 13:30:36 +0000 Received: by mail-oa0-f45.google.com with SMTP id o6so8503630oag.18 for ; Tue, 17 Jun 2014 06:30:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=6Qs3Fh1em3TE7tEsE4PMpXJpUZ6Zg5Zi2Uwjv1GnIfI=; b=gg5BfzvaWg3o8RtXqLTdEQl/Y2nyGQ3nvAjZ0bwzOIHPTa2lzvIkI6hecQtVtC2QCb uhWYLnjKH9iSZOjztGgGN0oY1VGnAHz9OwC9fNBOKs3q6wqilNu9dKoLgEMccqjysG8u TDRtsYVJ0jrpy9ygaVHHDrDDj6v634hTTTxx8pZZkuXCg2sJH0F6rItKTi70XD/QousF WEzBd9iuKth+bN4Tn50p9//25BC6IdCFCaBWxrkaDw4dRM7BLeLGF8Y7JlkDnsz7gzc4 alxAyW//w5DiJnTVfAE8RyxGUiWLQ1Fgd3f73kZ7nDBQgS4l9rSO8C73GdjB/2V7kjqi OWyw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=6Qs3Fh1em3TE7tEsE4PMpXJpUZ6Zg5Zi2Uwjv1GnIfI=; b=lgXp313ocZgkMY6zejfXz85eg05e4TKX46zSLZol8fVAmamDrrIHg6Mlbk7ISZvN+6 8yNmxrJg0+SqMJ40RnnRVkq0ruye7loiF3Sdac5UMSSgyR3Sn329DrK14F3vipcEjr3Q Zm1U8rTncfOKl4jXDuURkuzquq6Zg4lIaCimQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to:content-type; bh=6Qs3Fh1em3TE7tEsE4PMpXJpUZ6Zg5Zi2Uwjv1GnIfI=; b=ZHIp1rZxb1vOGnbJlKZt9cvmt7OzLKZMoN7ZNeAmgEuExSd3g0tbGlajjYHg5Gns/u EJExKuDVBQ/i0pVQomHfRJbUIR6KqnsGOvwPrkQaIA7kUaRrqbaVMYsQvI4uYwhMhNZ/ f7LaAzQMg6mK9ycepMEMbbqxxEF6iifnG6N05Yicv7TFhklQ3fx0y7VpAGHIhMVfW2GY AFv1RjuSts6+HXjtA1iWVjnCFZTRpvXYvwI2oTYMUZlWvVJUA99WTEsZtxqIJI+VpNGu GabQKNbXsSCdDmSdJx37ZDi9W8fMkzDyzNnav9sdyROdBSRR71Zb5RS8mo7o5y8bkZ5S pzCQ== X-Gm-Message-State: ALoCoQlbyoQIqOqVoeHYe3t56ooCuWkW7OqTRAkGARiYLVMP7Uc+VfCHBn001PqsNkOAIs/TgrVl X-Received: by 10.60.73.129 with SMTP id l1mr27089789oev.2.1403011816178; Tue, 17 Jun 2014 06:30:16 -0700 (PDT) MIME-Version: 1.0 Sender: iclelland@google.com Received: by 10.182.221.170 with HTTP; Tue, 17 Jun 2014 06:29:55 -0700 (PDT) From: Ian Clelland Date: Tue, 17 Jun 2014 09:29:55 -0400 X-Google-Sender-Auth: Gwo8wPFKSTt5HOknxzLqfi_JjQM Message-ID: Subject: Early Gradle successes To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=001a11360010eb5c0404fc08247d X-Virus-Checked: Checked by ClamAV on apache.org --001a11360010eb5c0404fc08247d Content-Type: text/plain; charset=UTF-8 I've been playing with Gradle builds for Cordova Android, and have managed to put together an initial working build system, which I've committted in the 4.0.x branch. If anyone wants to test it out, check out and build a project with that branch. Then, from the platforms/android dir, just run ./gradlew build (You may have to set your JAVA_HOME directory; I usually just prefix the command, and run it like JAVA_HOME=`/usr/libexec/java_home` ./gradlew build ) gradlew is a wrapper script, which on first run will download all of the bits that are needed. Subsequent runs will be faster and not require network access. Eventually this command would be the one run by the build scripts. My next step is to get is to get it working with Crosswalk as well -- I have it working locally (and assembling architecture-specific APKs!), but it required some changes to the Crosswalk engine plugin before it would build. If anyone wants to try it out, feedback is welcomed. Thanks, Ian --001a11360010eb5c0404fc08247d--