jetbrains-academy / kotlin-onboarding-introduction

The introduction to the Kotlin Onboarding course
MIT License
9 stars 2 forks source link

official project Gradle Build Gradle Build With Detekt Gradle Test License: MIT

Kotlin Onboarding: Introduction

This course is designed for novices in Kotlin and focuses on the basic concepts of the Kotlin language.

Each lesson of the course is built in the form of a project: step by step, by completing different small tasks, you will get a finished small project in the end. At the end of each lesson, an additional similar project will be offered: it includes all the topics of the lesson but does not contain the theory part.

Note, this course does not provide a detailed explanation of the basic concepts, like variables: it just shows how to use them in Kotlin and can briefly remind you the definitions.

All topics will be accompanied by links to the official Kotlin documentation, which you can read later.

Topics covered:

After this course, you will be ready to write basic console applications in the Kotlin-like style.

Technical requirements

Before starting this course, check the following requirements.

  1. Your computer needs to have a stable internet connection.
  2. Git version control system needs to be installed on your computer (link to the git site: https://git-scm.com/).
  3. Make sure that the path to the root folder of the course does not contain spaces, special characters, or non-latin characters.
  4. Make sure that you use the EduTools plugin with version at least 2023.3.

The course is integrated into the Intellij Idea IDE, which has a community free license. You may use this license to complete the course. If you have some troubles with the course installation, fell free to contact us by email education@jetbrains.com.

Getting started

This course is available on JetBrains Marketplace and can be installed from the IntelliJ IDEA IDE directly, but you can also use this course in the course creator mode or create a course archive from the source code.

Getting started: create a course preview from the source code

You can create a course preview from the source code:

  1. Clone this repository:

    git clone https://github.com/jetbrains-academy/kotlin-onboarding-introduction.git
  2. Build the project:

    ./gradlew build
  3. Install the EduTools plugin from JetBrains Marketplace.

  4. Create a new course preview.

Getting started: create a course archive

You can create a course archive from the source code:

  1. Clone this repository:

    git clone https://github.com/jetbrains-academy/kotlin-onboarding-introduction.git
  2. Build the project:

    ./gradlew build
  3. Install the EduTools plugin from JetBrains Marketplace.

  4. Create a new course archive.

Run tests

To run tests locally, you just need to build the project and run the following command:

./gradlew test

The tests use the Java Reflection API under the hood to check the user tasks.

Generate GIFs

This project uses anderson for automatic GIFs generation.

To do this, you could run one of the following commands:

Want to know more?

If you have questions about the course or the tasks or if you find some errors, you can ask questions and participate in discussions in repository issues.

Contribution

Please be sure to review the project's contributing guidelines to learn how to help the project.