Open-RIO / ToastAPI

An Open Source robot API for FRC - The Best thing since Sliced Bread
MIT License
71 stars 12 forks source link

Expects a ../maven.properties file #1

Closed anidev closed 9 years ago

anidev commented 9 years ago

Building with gradle fails after not being able to find ../maven.properties, in line 31 of build.gradle.

JaciBrunning commented 9 years ago

Remove the uploadArchives closure in the build.gradle, that's only for me publishing Toast

anidev commented 9 years ago

Could you fix the gradle file so it ignores the file if it doesn't exist instead of giving an error? Or at the very least mention something in the readme about how everyone needs to change this file after cloning in order to compile?

anidev commented 9 years ago

Furthermore, removing that closure isn't enough, lines 30-35 also need to be removed.

JaciBrunning commented 9 years ago

The project usually isn't meant to be build without maven, that is for when the Deployment tool gets released. I will try to fix the build.gradle to reflect this

anidev commented 9 years ago

I did have maven already installed and in my path, but no ../maven.properties file. Not sure if that is related in any way. Hopefully there will be a way to easily build afer cloning without having to modify files.

JaciBrunning commented 9 years ago

That's the thing. This is the src of the Toast program, so it has a maven.properties file to upload to maven for people to develop their plugins with