Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

expand setup kata and rename to project-init #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ Feel free to use these exercises, that's why they're public!
## Suggested Learning Path

Setup
- [project-init](./gradle-init/README.md) - Create a new gradle project
- [gradle-wrapper-basics](./gradle-wrapper-basics/README.md) - Use the gradle wrapper to ensure that the correct gradle version is used.

Task creation
Expand Down
20 changes: 20 additions & 0 deletions project-init/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Gradle Kata: Project initialization

This kata will describe how to create a new gradle project.

## Setup

Run `source setup.sh`

## The task

1. Run the command `gradle init`. When prompted, choose
* Project type: basic
* DSL: Groovy
* Project name: exercise
1. Explore the generated files
1. Run the command `gradle projects`
1. Observe the name of your root project
1. Rename your root project by changing `rootProject.name` in `settings.gradle`
1. Run the command `gradle projects` again
1. Observe the updated name of your root project
4 changes: 4 additions & 0 deletions project-init/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

source ../.shared/utils.sh
initkata_basic
10 changes: 0 additions & 10 deletions setup/README.md

This file was deleted.