From 3e31fc5de59094edabdb87fac83de500a5679323 Mon Sep 17 00:00:00 2001 From: Kinshuk Bairagi Date: Fri, 27 Sep 2024 23:50:00 +0530 Subject: [PATCH] Add example for how to generate libs folder (#110) --- examples/build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/build.gradle b/examples/build.gradle index 51b17ab5..513f6fb6 100644 --- a/examples/build.gradle +++ b/examples/build.gradle @@ -117,3 +117,9 @@ applicationDistribution.into('bin') { fileMode = 0755 } +task copyToLib(type: Copy) { + into "$buildDir/dependencies" + from configurations.runtimeClasspath +} + +compileJava.dependsOn(copyToLib)