ForgottenArbiter / SeedSearch

A mod that searches through Slay the Spire seeds.
MIT License
47 stars 8 forks source link

How can I compile this project to a .jar file? #1

Closed woolen-sheep closed 4 years ago

woolen-sheep commented 4 years ago

It's a amazing project and I want to add something new to it. I am a newbee of Java and I tried to build the project with maven. Maven output some class files. I am wondering how I can pack these to a executable jar file?

woolen-sheep commented 4 years ago

I've read your pom file and I thought there should be a jar file under the target folder but I get nothing except class files. It may sound stupid, facepalm.

ForgottenArbiter commented 4 years ago

Sorry about the kind of weird structure, I was copying what ModTheSpire and BaseMod did.

This will package the jar and copy the jar from target to ../_ModTheSpire/mods, but if you have your modded setup somewhere else, you should copy it manually to where it needs to go.

woolen-sheep commented 4 years ago

Thanks a lot!