Can Drivers folder be included in the Custom Keywords Plugin?

I am creating a Katalon Plugin of Custom Keywords + Test Listeners. Now, my keywords are using classes from JAR files which are present in ‘Drivers’ folder of my project. How do i package Drivers in this plugin ?

Hi @ruchi.trehan,
Try to define the dependencies section in your gradle build file as the following:

dependencies {
    compile fileTree(dir: 'Drivers', include: ['*.jar'])
}

However, if it is a standard .jar in an actual maven repository, why don’t you try this?

repositories {
   mavenCentral()
}
dependencies {
   implementation 'com.google.code.gson:gson:2.2.4'
}

The second way will help to automate the download process for all your dependencies.
For more information on how to develop custom keyword plugin, please refer to How to develop Custom Keywords Plugins