From commits-return-8179-archive-asf-public=cust-asf.ponee.io@groovy.apache.org Mon Mar 25 01:25:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id B92D018076D for ; Mon, 25 Mar 2019 02:25:01 +0100 (CET) Received: (qmail 59135 invoked by uid 500); 25 Mar 2019 01:25:00 -0000 Mailing-List: contact commits-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 commits@groovy.apache.org Received: (qmail 59107 invoked by uid 99); 25 Mar 2019 01:25:00 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Mar 2019 01:25:00 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 3A73485752; Mon, 25 Mar 2019 01:25:00 +0000 (UTC) Date: Mon, 25 Mar 2019 01:25:01 +0000 To: "commits@groovy.apache.org" Subject: [groovy] 01/02: some useful commented-out flags for build MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: paulk@apache.org In-Reply-To: <155347710004.6412.13750330335895059336@gitbox.apache.org> References: <155347710004.6412.13750330335895059336@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: groovy X-Git-Refname: refs/heads/GROOVY_2_5_X X-Git-Reftype: branch X-Git-Rev: 06ef27d99b505bc88737515c044ec184a40363cb X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20190325012500.3A73485752@gitbox.apache.org> This is an automated email from the ASF dual-hosted git repository. paulk pushed a commit to branch GROOVY_2_5_X in repository https://gitbox.apache.org/repos/asf/groovy.git commit 06ef27d99b505bc88737515c044ec184a40363cb Author: Paul King AuthorDate: Mon Mar 25 09:56:48 2019 +1000 some useful commented-out flags for build --- build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.gradle b/build.gradle index f73e3f1..852c566 100644 --- a/build.gradle +++ b/build.gradle @@ -383,6 +383,7 @@ allprojects { tasks.withType(JavaCompile) { options.encoding = 'UTF-8' options.incremental = true +// options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" if (classpath) { classpath = classpath + files(dgmConverter.outputDir) @@ -403,6 +404,7 @@ allprojects { tasks.withType(GroovyCompile) { groovyOptions.fork(memoryMaximumSize: groovycMain_mx) groovyOptions.encoding = 'UTF-8' +// options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" groovyClasspath = files( rootProject.compileJava.classpath, files(project==rootProject?rootProject.bootstrapJar:rootProject.jar)