[ 
https://issues.apache.org/jira/browse/KAFKA-8786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16904432#comment-16904432
 ] 

ASF GitHub Bot commented on KAFKA-8786:
---------------------------------------

AljoschaP commented on pull request #7190: KAFKA-8786
URL: https://github.com/apache/kafka/pull/7190
 
 
   The lines 549-552 of the build.gradle makes it incompatible with Gradle 6.0. 
It was fixed by changing
   
   ```
   additionalSourceDirs = files(javaProjects.sourceSets.main.allSource.srcDirs)
   sourceDirectories = files(javaProjects.sourceSets.main.allSource.srcDirs)
   classDirectories = files(javaProjects.sourceSets.main.output)
   executionData = files(javaProjects.jacocoTestReport.executionData)
   ```
   
   to
   
   ```
   additionalSourceDirs.from = javaProjects.sourceSets.main.allSource.srcDirs
   sourceDirectories.from = javaProjects.sourceSets.main.allSource.srcDirs
   classDirectories.from = javaProjects.sourceSets.main.output
   executionData.from = javaProjects.jacocoTestReport.executionData
   ```
   No expected changes to unit or integration tests.
   
 
----------------------------------------------------------------
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]


> Deprecated Gradle features making it incompatible with Gradle 6.0.
> ------------------------------------------------------------------
>
>                 Key: KAFKA-8786
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8786
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>            Reporter: Aljoscha Pörtner
>            Priority: Trivial
>              Labels: easyfix, gradle
>         Attachments: Unbenannt.PNG
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> The lines 549-552 of the build.gradle makes it incompatible with Gradle 6.0. 
> It can be fixed by changing
> {code:java}
> additionalSourceDirs = files(javaProjects.sourceSets.main.allSource.srcDirs)
> sourceDirectories = files(javaProjects.sourceSets.main.allSource.srcDirs)
> classDirectories = files(javaProjects.sourceSets.main.output)
> executionData = files(javaProjects.jacocoTestReport.executionData)
> {code}
> to
> {code:java}
>   additionalSourceDirs.from = javaProjects.sourceSets.main.allSource.srcDirs
>   sourceDirectories.from = javaProjects.sourceSets.main.allSource.srcDirs
>   classDirectories.from = javaProjects.sourceSets.main.output
>   executionData.from = javaProjects.jacocoTestReport.executionData
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to