How to build a jar with Kotlin classes for Java Project?

Hello guys.How should I configure the build.gradle to make a jar with Kotlin classes for Java Project calling?

You have to create a artifact and sign it then you have a executable jar file.
There’s a lot of tutorials out there for creating artifact.