Trying to build robocode tank royale (gradle errors) #6
-
Hi again!
I'm using Windows 10, and the following versions of some relevant software:
Any suggestions are appreciated. Edit: Edit 2:
I notice that the URL listed in the error message doesn't exist, although this related one does: "https://repo.maven.apache.org/maven2/dev/robocode/tankroyale/robocode-tankroyale-bot-api/0.10.0/robocode-tankroyale-bot-api-0.10.0.pom". Maybe it's looking in the wrong spot? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
You are right that it was used for the Sonarype OSSRH. I have commented this out for now, so you can get a new version by doing a The error you see with the robocode-tankroyale-schema is because you are missing this artifact in your local maven repository. I might have a look into making this a bit smarter. But then again. The schemas are not changed that often. Steps:
Now you should be able to build the Bot API for Java. :) |
Beta Was this translation helpful? Give feedback.
-
Sorry, the last line needs to be:
|
Beta Was this translation helpful? Give feedback.
-
Thank you @SirStone for following up on this issue. I made a fix so the I have pushed the fix to the master branch. |
Beta Was this translation helpful? Give feedback.
You are right that it was used for the Sonarype OSSRH. I have commented this out for now, so you can get a new version by doing a
git pull
from the master branch.The error you see with the robocode-tankroyale-schema is because you are missing this artifact in your local maven repository.
I might have a look into making this a bit smarter. But then again. The schemas are not changed that often.
Steps:
gradle build
gradle publishToMavenLocal
to publish the artifact your your local repositoryNow you should be able to build the Bot API for Java. :)