Kryo/Objenesis versions conflict.

Objenesis 2.1 was included via Kryo add Objenesis 2.6 explicitly.
They both ended up on classpath and might cause class loading issues.

As a fix Kryo is now does't include Objenesis 2.1 transitively, instead using Objenesis 2.6

CPP-14559 CLion plugin: Kryo Exception in case of reopening project
This commit is contained in:
Anton Makeev
2018-12-03 14:02:08 +01:00
parent 5b64d9709b
commit 5b3c55e338
3 changed files with 7 additions and 3 deletions
+5 -3
View File
@@ -1,16 +1,18 @@
<component name="libraryTable">
<library name="Kryo" type="repository">
<properties maven-id="com.esotericsoftware.kryo:kryo:2.24.0" />
<properties maven-id="com.esotericsoftware.kryo:kryo:2.24.0">
<exclude>
<dependency maven-id="org.objenesis:objenesis" />
</exclude>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/esotericsoftware/kryo/kryo/2.24.0/kryo-2.24.0.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/com/esotericsoftware/minlog/minlog/1.2/minlog-1.2.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/objenesis/objenesis/2.1/objenesis-2.1.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/com/esotericsoftware/kryo/kryo/2.24.0/kryo-2.24.0-sources.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/com/esotericsoftware/minlog/minlog/1.2/minlog-1.2-sources.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/objenesis/objenesis/2.1/objenesis-2.1-sources.jar!/" />
</SOURCES>
</library>
</component>
@@ -19,6 +19,7 @@
<orderEntry type="library" exported="" name="Slf4j" level="project" />
<orderEntry type="library" exported="" name="Gradle" level="project" />
<orderEntry type="library" name="Kryo" level="project" />
<orderEntry type="library" name="Objenesis" level="project" />
<orderEntry type="library" name="Groovy" level="project" />
<orderEntry type="library" name="gson" level="project" />
</component>
@@ -25,6 +25,7 @@
<orderEntry type="library" name="swingx" level="project" />
<orderEntry type="module" module-name="intellij.platform.smRunner" />
<orderEntry type="library" name="Kryo" level="project" />
<orderEntry type="library" name="Objenesis" level="project" />
<orderEntry type="library" name="Ant" level="project" />
<orderEntry type="library" name="gson" level="project" />
<orderEntry type="module" module-name="intellij.platform.jps.build" />