- clone with git with
git clone https://github.com/teal-duck/teal-duck.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 teal-duck folder (root of project) -> Build Model.
- Select all -> Finish.
- You have now installed teal-duck to eclipse.
- Exit eclipse.
- Run
git pull
in teal-duck - Re-open eclipse.
- Exit eclipse.
- Open terminal,
cd
to teal-duck. - 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 th branch Click to open a pull request.
- Complete pull request form and submit.
- Find package on http://search.maven.org/
- Open teal-duck/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 teal-duck on https://github.com/teal-duck/teal-duck
- Click on
Branch: master
, type in name of your new branch, press enter. - Open terminal,
cd
to teal-duck. git pull
git checkout <branch-name>
- You have created and switched to your new branch.