[ 
https://issues.apache.org/jira/browse/BEAM-4584?focusedWorklogId=113837&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-113837
 ]

ASF GitHub Bot logged work on BEAM-4584:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 20/Jun/18 17:53
            Start Date: 20/Jun/18 17:53
    Worklog Time Spent: 10m 
      Work Description: lukecwik commented on a change in pull request #5683: 
[BEAM-4584] Migrate build_rules.gradle to buildSrc plugin
URL: https://github.com/apache/beam/pull/5683#discussion_r196881497
 
 

 ##########
 File path: 
buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
 ##########
 @@ -0,0 +1,1297 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * License); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.beam.gradle
+
+import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
+import org.gradle.api.Plugin
+import org.gradle.api.Project
+import org.gradle.api.plugins.quality.Checkstyle
+import org.gradle.api.plugins.quality.FindBugs
+import org.gradle.api.publish.maven.MavenPublication
+import org.gradle.api.tasks.Exec
+import org.gradle.api.tasks.JavaExec
+import org.gradle.api.tasks.bundling.Jar
+import org.gradle.api.tasks.compile.JavaCompile
+import org.gradle.api.tasks.testing.Test
+import org.gradle.testing.jacoco.tasks.JacocoReport
+
+/** This plugin adds methods to configure a module with Beam's defaults, 
called "natures".
+ *
+ * The natures available:
 
 Review comment:
   nit: add `<p>` tag

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 113837)
    Time Spent: 2h  (was: 1h 50m)

> Use a "binary plugin" in buildSrc instead of "script plugin" in 
> build_rules.gradle
> ----------------------------------------------------------------------------------
>
>                 Key: BEAM-4584
>                 URL: https://issues.apache.org/jira/browse/BEAM-4584
>             Project: Beam
>          Issue Type: Improvement
>          Components: build-system
>            Reporter: Kenneth Knowles
>            Assignee: Kenneth Knowles
>            Priority: Major
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> This is a best practice recommended by the Gradle documentation. It is 
> expected to speed things up, and makes dependency management and testing 
> slightly better.
> In terms of code, it is not much different, though some things that were 
> previously implicit in the top-level groovy DSL will need to be made explicit 
> in the plugin definition.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to