Simple program for finding repeating symbols in two strings from file.
How to create .jar file: run those commands in terminal in project folder:
- gradle clean
- gradle fatJar
- java -jar build/libs/intersection-all-1.0-SNAPSHOT.jar
If you want to run this with some .txt file from command line, than add to previous command name of file like this:
java -jar build/libs/intersection-all-1.0-SNAPSHOT.jar "somename.txt"