Ensure examples are runnable in the ide
Motivation: It seems like intellij / idea is confused because of shading of jctools. Modifications: Add jctools as dependency with scope runtime to the examples as workaround Result: Its possible again to run the examples in the ide.
This commit is contained in:
parent
87d9ecc2c9
commit
aa8f7b395b
@ -124,6 +124,14 @@
|
|||||||
<artifactId>logback-classic</artifactId>
|
<artifactId>logback-classic</artifactId>
|
||||||
<scope>runtime</scope>
|
<scope>runtime</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.jctools</groupId>
|
||||||
|
<artifactId>jctools-core</artifactId>
|
||||||
|
<!-- Need runtime scope as otherwise idea is not able to run the examples -->
|
||||||
|
<!-- This is most likely a bug in idea -->
|
||||||
|
<scope>runtime</scope>
|
||||||
|
<optional>true</optional>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
Loading…
Reference in New Issue
Block a user