Skip to content

Commit 6a9bef0

Browse files
authored
Create README.md
1 parent 6ba51b0 commit 6a9bef0

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
To compile and run these programs, you only need JDK 8 installed.
2+
Invoking `gradlew` will automatically download and install Gradle.
3+
Gradle will also install all additional libraries necessary to compile
4+
and run the Java examples in the book.
5+
6+
To compile everything, the command is:
7+
8+
`gradlew build`
9+
10+
To run everything (including compiling if necessary), the command is:
11+
12+
`gradlew run`
13+
14+
To compile only a single chapter (including dependencies), use for example:
15+
16+
`gradlew :strings:build`
17+
18+
To run only a single chapter, say:
19+
20+
`gradlew :strings:run`

0 commit comments

Comments
 (0)