You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2024/10/31 10:39:00 UTC

[jira] [Assigned] (KAFKA-17906) remove redundant sourceSets from build.gradle

     [ https://issues.apache.org/jira/browse/KAFKA-17906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chia-Ping Tsai reassigned KAFKA-17906:
--------------------------------------

    Assignee: Chia-Ping Tsai

> remove redundant sourceSets from build.gradle
> ---------------------------------------------
>
>                 Key: KAFKA-17906
>                 URL: https://issues.apache.org/jira/browse/KAFKA-17906
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Major
>
> according to https://docs.gradle.org/current/userguide/building_java_projects.html#sec:compile, the following `sourceSets` is totally equal to the default setting. So we should remove them from build.gradle
>   sourceSets {
>     main {
>       java {
>         srcDirs = ["src/main/java"]
>       }
>     }
>     test {
>       java {
>         srcDirs = ["src/test/java"]
>       }
>     }
>   }



--
This message was sent by Atlassian Jira
(v8.20.10#820010)