title: How to build a gradle project without a specific subfolder?
body: <p>I have a Kotlin project in Gradle with 3 main folders: <code>myorg.folder1</code>, <code>myorg.folder2</code>, and <code>myorg.folder3</code>. Due to project constraints I cannot change this structure. As part of the project, I would like to have two different <code>jar</code> distributions: One containing all 3 folders, and one that only contains <code>folder1</code> and <code>folder2</code>. The project has been set up so that these folders can operate independently of <code>folder3</code> without errors. How can I do this?</p>