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

Commit b182909

Browse files
author
Michael Ingeman-Nielsen
committed
expand setup kata and rename to project-init
1 parent 41754d4 commit b182909

File tree

3 files changed

+24
-10
lines changed

3 files changed

+24
-10
lines changed

project-init/README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Gradle Kata: Project initialization
2+
3+
This kata will describe how to create a new gradle project.
4+
5+
## Setup
6+
7+
Run `source setup.sh`
8+
9+
## The task
10+
11+
1. Run the command `gradle init`. When prompted, choose
12+
* Project type: basic
13+
* DSL: Groovy
14+
* Project name: exercise
15+
1. Explore the generated files
16+
1. Run the command `gradle projects`
17+
1. Observe the name of your root project
18+
1. Rename your root project by changing `rootProject.name` in `settings.gradle`
19+
1. Run the command `gradle projects` again
20+
1. Observe the updated name of your root project

project-init/setup.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
3+
source ../.shared/utils.sh
4+
initkata_basic

setup/README.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)