Skip to content
This repository was archived by the owner on Oct 4, 2024. It is now read-only.

Commit c80dc71

Browse files
committed
Work around Intellij bug, update core to do the same
1 parent 55ec59e commit c80dc71

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

CubicChunksCore

build.gradle.kts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,15 @@ dependencies {
280280
isTransitive = false
281281
})
282282

283+
// To work around an Intellij bug where compile and runtime dependencies of a project differ, causing artifact transforms to run twice on a dependency
284+
// which then creates two jars in the same dependency, resulting in Intellij failing to resolve the classes.
285+
{
286+
stirrin.addDependency("org.jetbrains:annotations:24.0.0") // core dependency
287+
288+
implementation("com.google.guava:guava:31.1-jre")
289+
implementation("com.google.code.gson:gson:2.9.0")
290+
}
291+
283292
debugCompile("org.lwjgl:lwjgl-vulkan:$lwjglVersion")
284293
debugRuntime("org.lwjgl:lwjgl::$lwjglNatives")
285294

0 commit comments

Comments
 (0)