Game by Teams Mallard and Smew, continued by Team Teal.
- Clone with git with
git clone https://github.com/teal-duck/mallard.git
- Install gradle to eclipse
- Help -> Install new software... -> Add... (Name: gradle, Location: http://dist.springsource.com/release/TOOLS/gradle)
- Select only 'Extensions / Gradle Integration' NOT 'Uncategorized'
- Press Finish
- Import project to eclipse via gradle (https://github.com/libgdx/libgdx/wiki/Gradle-and-Eclipse)
- File -> Import -> Gradle -> Gradle Project -> Browse for BigDuckOnCampus folder (root of project) -> Build Model.
- Select all -> Finish.
- You have now installed Super Duck Invaders to eclipse.
- Run
git pull
in mallard - Refresh all files in eclipse.
- Open terminal,
cd
to BigDuckOnCampus. - Run
git branch
to make sure you are on your correct branch. - Run
git status
to see all changes you have made to project. - Run
git add <filename>
for each file added/edited. - Run
git commit -m "<commit message>"
Try to add a helpful message describing your change(s). - Run
git push
to push changes to your branch on GitHub. - Open GitHub, change to your branch. There should be a yellow banner saying that you have recently pushed the branch. Click to open a pull request.
- Complete pull request form and submit.
- Find package on http://search.maven.org/
- Open BigDuckOnCampus/build.gradle
- Add line
compile "<group>:<name>:<version>"
withindependencies {...}
for relevant project (core or desktop) See also https://docs.gradle.org/current/userguide/artifact_dependencies_tutorial.html
- Open BigDuckOnCampus on https://github.com/teal-duck/BigDuckOnCampus
- Click on
Branch: master
, type in name of your new branch, press enter. - Open terminal,
cd
to BigDuckOnCampus. git pull
git checkout <branch-name>
- You have created and switched to your new branch.