You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by Jun Rao <ju...@gmail.com> on 2014/08/29 23:07:20 UTC

Review Request 25200: Patch for KAFKA-1502

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/25200/
-----------------------------------------------------------

Review request for kafka.


Bugs: KAFKA-1502
    https://issues.apache.org/jira/browse/KAFKA-1502


Repository: kafka


Description
-------

1. No longer wrapping creation of srcJar and javadocJar in the "tasks.withType(Javadoc)". We know that javadoc task was added because we have applied the java plugin. The previous implementation would break if another Javadoc task was added. 2. No longer overwrite the jar and docsJar tasks - there is no need to overwrite those tasks. We can simply update them and add extra scala-related configuration. 3. Started using plugins.withType(ScalaPlugin) {} block to configure the scala-specific settings 4. docsJar task does not seem to be a jar task. It looks like it is a task that aggregates other documentation tasks. Updated the code accordingly.


Diffs
-----

  build.gradle 45cf5022ea1b7899f37a52ae138ffbccb4b43341 

Diff: https://reviews.apache.org/r/25200/diff/


Testing
-------


Thanks,

Jun Rao


Re: Review Request 25200: Patch for KAFKA-1502

Posted by Joe Stein <cr...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/25200/#review51944
-----------------------------------------------------------

Ship it!


Ship It!

- Joe Stein


On Aug. 29, 2014, 9:07 p.m., Jun Rao wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/25200/
> -----------------------------------------------------------
> 
> (Updated Aug. 29, 2014, 9:07 p.m.)
> 
> 
> Review request for kafka.
> 
> 
> Bugs: KAFKA-1502
>     https://issues.apache.org/jira/browse/KAFKA-1502
> 
> 
> Repository: kafka
> 
> 
> Description
> -------
> 
> 1. No longer wrapping creation of srcJar and javadocJar in the "tasks.withType(Javadoc)". We know that javadoc task was added because we have applied the java plugin. The previous implementation would break if another Javadoc task was added. 2. No longer overwrite the jar and docsJar tasks - there is no need to overwrite those tasks. We can simply update them and add extra scala-related configuration. 3. Started using plugins.withType(ScalaPlugin) {} block to configure the scala-specific settings 4. docsJar task does not seem to be a jar task. It looks like it is a task that aggregates other documentation tasks. Updated the code accordingly.
> 
> 
> Diffs
> -----
> 
>   build.gradle 45cf5022ea1b7899f37a52ae138ffbccb4b43341 
> 
> Diff: https://reviews.apache.org/r/25200/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Jun Rao
> 
>