Fix the embed configuration

This commit is contained in:
Raven Szewczyk 2023-04-24 15:39:55 +01:00
parent b31891a270
commit 1c5b4612a5

View file

@ -69,7 +69,6 @@ repositories {
} }
dependencies { dependencies {
if (project.use_assetmover.toBoolean()) { if (project.use_assetmover.toBoolean()) {
implementation 'com.cleanroommc:assetmover:2.0' implementation 'com.cleanroommc:assetmover:2.0'
} }
@ -161,6 +160,8 @@ jar {
} }
attributes(attribute_map) attributes(attribute_map)
} }
// Add all embedded dependencies into the jar
from(provider{ configurations.embed.collect {it.isDirectory() ? it : zipTree(it)} })
} }
idea { idea {