- Kotlin Programming By Example
- Iyanu Adelekan
- 186字
- 2025-04-04 17:16:16
Conventions used
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "In Java, an HttpsURLConnection can be used for secure data transfer over a network."
A block of code is set as follows:
release {
storeFile file("../my-release-key.jks")
storePassword "password"
keyAlias "my-alias"
keyPassword "password"
}
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
release {
storeFile file("../my-release-key.jks")
storePassword "password"
keyAlias "my-alias"
keyPassword "password"
}
Any command-line input or output is written as follows:
./gradlew assembleRelease
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Enter the rest of your account details as required and click COMPLETE REGISTRATION to finish the account registration process."