diff --git a/build.gradle b/build.gradle index 3145cd7..1f7a929 100644 --- a/build.gradle +++ b/build.gradle @@ -14,12 +14,25 @@ jar{ 'Main-Class': mainClassName ) } + + from { + configurations.bundle.filter{ + it.exists() + }.collect { + it.isDirectory() ? it : zipTree(it) + } + } } repositories { mavenCentral() } +configurations { + bundle + implementation.extendsFrom(bundle) +} + dependencies { implementation 'org.json:json:20220924' testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'