how to write a jar file code example
Example 1: adding jar file gradle
dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
}
Example 2: run jar file
java -jar yourFile.jar
dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
}
java -jar yourFile.jar