Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3F331200B34 for ; Sat, 2 Jul 2016 10:22:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3DC2B160A5F; Sat, 2 Jul 2016 08:22:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 83CB6160A50 for ; Sat, 2 Jul 2016 10:22:03 +0200 (CEST) Received: (qmail 63248 invoked by uid 500); 2 Jul 2016 08:22:02 -0000 Mailing-List: contact dev-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.apache.org Delivered-To: mailing list dev@groovy.apache.org Received: (qmail 63238 invoked by uid 99); 2 Jul 2016 08:22:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Jul 2016 08:22:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id F076EC01A9 for ; Sat, 2 Jul 2016 08:22:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.821 X-Spam-Level: X-Spam-Status: No, score=-0.821 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=googlemail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id bbqdRFu5hXAM for ; Sat, 2 Jul 2016 08:22:01 +0000 (UTC) Received: from mail-lf0-f52.google.com (mail-lf0-f52.google.com [209.85.215.52]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id B56C65FAC3 for ; Sat, 2 Jul 2016 08:22:00 +0000 (UTC) Received: by mail-lf0-f52.google.com with SMTP id h129so90224659lfh.1 for ; Sat, 02 Jul 2016 01:22:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=2E4zF+NuSt6i7uBaawPDVqgm0q+uDtO97CU1lPXES6E=; b=l2WKgtdluYUuplGMh3fmPRZkeoFMt1pS/WhLdcNsxzxWRCg7PXZCLe6PlPKowR8xNU ONmVtsTcOMdxjMTbJiOMCxdZfYTqvP2wmeQKrjf95Ub23XbC40y+fnz/tvda66dF+RaI Q5HKQd41tuDduWeibHwYfLArSXHrgIGshzAcp/Z8PihFtSTulh2/DHTj9w75n3aKMRSo N20yLdZfubzQoBYBqK6Ykfh6D49j60JYN+XY6kGB8PRSTXdUpS7YF1lfpJ6YCeJ+DBME OGXPEr2BRYwRQKnvJ2twYuITpCoRNHqg8NBfHwkmoQl7EESGb/u8iR55lGxMixsWzFGB XQVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=2E4zF+NuSt6i7uBaawPDVqgm0q+uDtO97CU1lPXES6E=; b=Qph8X6Du0BvVG/xm0wsrdPwn8VGns6FWXv6fZQ6353bfrZotDjtFGT0Gdwsud01YBC D8GMpOlKBSziRja1+V5NW1CAbZU4jaW8TSwRhQ6wnhwI4/TR7mAJh2RIOgj7z390I/AE Q/G3OWNFrLqTcRN5Yy+xmlzLFF1195iVBUdL7hNU1Is1Lf9XI6+z9t2Vop1gw+iy6ONC 8sGFPfRxqLFtNZzsXVm74Tl065u5FDdgnnCMG9CPty5BnKVkGXjswSgNff3248sT5qTU CLzkILaJhjfRHnfi9wlz7uF2qQ1WH5e3P4jdQx5sEMOhvf8eHLetaCM/Ff35ySj4lY6e J6Sg== X-Gm-Message-State: ALyK8tJNaI0Iaec0Dv2F0M7j4+sHVTmHiR+oZt+e4E9eKJ2i1dLFUDLjrrR6pv/NYDn5LyGoIQmKC824FOC9Cw== X-Received: by 10.25.134.194 with SMTP id i185mr407533lfd.116.1467447713974; Sat, 02 Jul 2016 01:21:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.210.7 with HTTP; Sat, 2 Jul 2016 01:21:53 -0700 (PDT) In-Reply-To: References: From: Thibault Kruse Date: Sat, 2 Jul 2016 10:21:53 +0200 Message-ID: Subject: Re: Groovy syntax question To: dev@groovy.apache.org Content-Type: text/plain; charset=UTF-8 archived-at: Sat, 02 Jul 2016 08:22:04 -0000 In a gradle file, all methods and properties are resolved against a project instance. so the first exec really is project.exec({...}), and the second exec is println(project.exec). You can type it like that in gradle as well, giving you somewhat better IDE support. Also there is a gradle forum for gradle related questions, which may be better than this mailing list for this kind of question.