Hi Can anyone tell me how to include a dir inside ...
# ktor
m
Hi Can anyone tell me how to include a dir inside the project root dir into ShadowJar plugin's resultant jar file. For example i want to include credentials dir in final output jar, following code does not work
Copy code
tasks {
    named<ShadowJar>("shadowJar") {
         include("credentials/")
        exclude("department_images/")
        exclude("json/")
        exclude("question_images/")

    }
}
b
Use absolute path in your include and you'll be fine