<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>gradle &#8211; Manuel Bogner&#039;s Blog</title>
	<atom:link href="https://blog.mbo.dev/archives/category/dev/gradle/feed" rel="self" type="application/rss+xml" />
	<link>https://blog.mbo.dev</link>
	<description>Solutions to everyday IT problems</description>
	<lastBuildDate>Mon, 31 Oct 2022 23:15:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://blog.mbo.dev/wp-content/uploads/2022/11/cropped-cropped-mbo-white_opt-32x32.png</url>
	<title>gradle &#8211; Manuel Bogner&#039;s Blog</title>
	<link>https://blog.mbo.dev</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>duplicate but no duplicate handling strategy has been set &#8211; gradle DuplicationStrategy</title>
		<link>https://blog.mbo.dev/archives/1874</link>
		
		<dc:creator><![CDATA[Manuel Bogner]]></dc:creator>
		<pubDate>Mon, 31 Oct 2022 23:15:20 +0000</pubDate>
				<category><![CDATA[gradle]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Kotlin]]></category>
		<guid isPermaLink="false">https://blog.coffeebeans.at/?p=1874</guid>

					<description><![CDATA[While using Java and Kotlin with Spring Boot the following exception occurs and it&#8217;s quite hard to find how to fix it. The simple solution is to add the following top level config in your gradle file:]]></description>
										<content:encoded><![CDATA[
<p>While using Java and Kotlin with Spring Boot the following exception occurs and it&#8217;s quite hard to find how to fix it.</p>



<pre class="wp-block-code"><code>1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:processResources'.
> Entry ... is a duplicate but no duplicate handling strategy has been set. Please refer to https://docs.gradle.org/7.5.1/dsl/org.gradle.api.tasks.Copy.html#org.gradle.api.tasks.Copy:duplicatesStrategy for details.
</code></pre>



<p>The simple solution is to add the following top level config in your gradle file:</p>



<pre class="wp-block-code"><code>tasks.withType&lt;Copy> {
    duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}</code></pre>



<p></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
