Skip to content

Commit 04b9f99

Browse files
committed
zip4j now included in build.
Signed-off-by: Pavel Erokhin (MairwunNx) <[email protected]>
1 parent b3b5c8e commit 04b9f99

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

build.gradle

+8-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ version = module_version
2020
group = "com.projectessentials.backup"
2121
archivesBaseName = module_name
2222

23+
configurations {
24+
internal
25+
implementation.extendsFrom internal
26+
}
27+
2328
minecraft {
2429
mappings channel: forge_mappings_channel_type, version: forge_mappings_channel_version
2530
}
@@ -44,10 +49,12 @@ dependencies {
4449
implementation "org.jetbrains.kotlinx:kotlinx-serialization-runtime:$kotlinx_serialization_version"
4550
implementation "org.jetbrains.kotlin:kotlin-stdlib-$kotlin_jdk_version_target:$kotlin_version"
4651
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinx_coroutines_version"
47-
implementation 'net.lingala.zip4j:zip4j:2.6.1'
52+
internal 'net.lingala.zip4j:zip4j:2.6.1'
4853
}
4954

5055
jar {
56+
from configurations.internal.collect { it.isDirectory() ? it : zipTree(it) }
57+
5158
manifest {
5259
attributes([
5360
"Specification-Title" : module_name,

0 commit comments

Comments
 (0)