Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Gradle support #177

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Derpthemeus
Copy link

Adds Gradle build support. My motivation for doing so was so that I could use https://jitpack.io/ to easily add rars as a dependency to another project I'm working on.

Files autogenerated by IntelliJ. build.gradle configured to have the same behavior as build-jar.sh (includes both .class and .java files in the .jar file)

@TheThirdOne
Copy link
Owner

I have not yet setup gradle because I do not particularly care to have the standard wrapper in the repo. I favor simple solutions and the current bash script is definitely more simple. I am unsure if gradle as introduced in this PR is worth it to include.

If your only reason for RARS to use gradle is jitpack, can't you set up the dependency to a tag. I am not familiar with it, but implementation 'com.github.TheThirdOne:RARS:v1.6' should work.

@Derpthemeus
Copy link
Author

Jitpack fails to build the repo with the error No build file found. Looking for Gradle/Maven/Sbt/Lein build file in the root of the project. https://jitpack.io/com/github/TheThirdOne/rars/v1.6/build.log

Let me know if you have any issues with Gradle specifically. I could add Maven/Sbt/Lein buildfiles instead if you prefer one of those systems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants