Posted December 12, 20159 yr So I have just finished my mod and used the PlayerAPI jar to make it easier to make. My question is where do I place this so I don't get errors when building my project with cmd and gradlew. Thanks.
December 12, 20159 yr Author Declare it as a gradle dependency. The gradle documentation will tell you how. It starts compiling then when it hits 20% completion it pops out a bunch of errors within the classes I used the API in.
December 12, 20159 yr Author Declare it as a gradle dependency. The gradle documentation will tell you how. http://pastebin.com/ik27NDiN Heres what comes out of the cmd after i run 'gradlew build' Also heres what I have under my dependencies in gradlew.build: runtime fileTree(dir: 'lib/API', include: '*.jar')
December 12, 20159 yr You can't compile against a runtime dependency, make it a compile dependency. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
December 12, 20159 yr Author You can't compile against a runtime dependency, make it a compile dependency. Still didn't work but was able to work my way around it thanks anyways.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.