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

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

                Author: ASF GitHub Bot
            Created on: 05/Apr/19 15:37
            Start Date: 05/Apr/19 15:37
    Worklog Time Spent: 10m 
      Work Description: kennknowles commented on pull request #8034: 
[BEAM-6493] Convert the WordCount samples to Kotlin
URL: https://github.com/apache/beam/pull/8034#discussion_r272641153
 
 

 ##########
 File path: examples/kotlin/build.gradle
 ##########
 @@ -0,0 +1,146 @@
+/*
+ * 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.
+ */
+
+import groovy.json.JsonOutput
+
+plugins { id 'org.apache.beam.module'
+    id 'org.jetbrains.kotlin.jvm' version '1.3.21'
+}
+
+applyJavaNature(exportJavadoc: false)
 
 Review comment:
   We should separate out a KotlinNature and set up e.g. Spotless to use 
ktlint. (separately, instead of all these "natures" in one plugin, they should 
be separate BeamKotlinPlugin etc but that is another big step)
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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: 223643)
            Time Spent: 5h 20m  (was: 5h 10m)
    Remaining Estimate: 499h 40m  (was: 499h 50m)

> examples in Kotlin
> ------------------
>
>                 Key: BEAM-6493
>                 URL: https://issues.apache.org/jira/browse/BEAM-6493
>             Project: Beam
>          Issue Type: Task
>          Components: examples-java
>    Affects Versions: Not applicable
>            Reporter: Harshit Dwivedi
>            Assignee: Harshit Dwivedi
>            Priority: Minor
>              Labels: documentation, triaged
>             Fix For: Not applicable
>
>   Original Estimate: 504h
>          Time Spent: 5h 20m
>  Remaining Estimate: 499h 40m
>
> I have been using Apache Beam for few of my projects in production since the 
> past 6 months and apart from Java, [Kotlin|https://kotlinlang.org/] also 
> seems to work as well with no issues whatsoever.
> But currently, the Github Repository of Apache Beam contains examples only in 
> Java which might be an issue forĀ other developers who want to use Apache Beam 
> SDK with kotlinĀ as there are no sample resources available.
> That said, I would love to go ahead and add kotlin examples alongside the 
> current java examples in the [Beam 
> repository|https://github.com/apache/beam/tree/master/examples/java].



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

Reply via email to