This repo isn't intended to be cloned on any dev machine unless new dependencies are being added. It is used to provide public URLs for dependencies needed by the BRJS build which cannot be found on any public Maven repo.
Cloned from https://github.com/andyberry88/gh-pages-maven-repo. See that repo for any updates to the build script.
A small Gradle build script to deploy build artifacts to a 'repo' directory in a Maven format. The repo can then be hosted on gh-pages
for free and used as a Maven repository by any other build scripts.
A java virtual machine in order to run the Gradle Wrapper. Gradle, which is required to run the build script, will be downloaded automatically by the Gradle wrapper (gradlew
).
- Fork the project and clone locally.
- Download the file that should be added to the Maven repo.
- Run
./gradlew -PdepGroup=<GROUP.NAME> -PdepVersion=<VERSION> -PdepArtifact=<ARTIFACT.NAME> -PdepFile=<PATH.TO.FILE>
which will 'upload' the file to the 'repo' directory.
- For example
./gradlew -PdepGroup=com.my.company -PdepVersion=1.3.8-0 -PdepArtifact=MyCoolArtifact -PdepFile=/home/me/MyCoolArtifact.jar
.
git commit
andgit push
as you normally would do any other changes to a Git repo. Make sure this is to thegh-pages
branch so it's hosted on GitHub.- Use
http://<github-user>.github.io/<repo-name>/
as the Maven repository and the corresponding group, artifact name and version in your build scripts.