// Copyright (C) 2024 Gradle, Inc.
//
// Licensed under the Creative Commons Attribution-Noncommercial-ShareAlike 4.0 International License.;
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      https://creativecommons.org/licenses/by-nc-sa/4.0/
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

[[introduction]]
= Getting Started

Everyone has to start somewhere, and if you're new to Gradle, this is where to begin.

To get started using Gradle:

1. Read the <<gradle_intro,Learning the Basics>> chapters.
2. Follow the <<getting_started,Beginner Tutorial>> for a hands-on approach.

[[gradle_intro]]
== 1. Learning the Gradle Basics

The learning the basics section goes through the Gradle core concepts so that you can quickly understand how to invoke tasks, turn on features, apply plugins, add dependencies to your project, and more.

[sidebar]
_Training level_: **Beginner** +
_Reading time_: **25 minutes**

This section covers:

<<gradle_basics.adoc#gradle,Part 1.>> Core Concepts +
<<gradle_wrapper_basics.adoc#gradle_wrapper_basics,Part 2.>> Wrapper Basics +
<<command_line_interface_basics.adoc#command_line_interface_basics,Part 3.>> Command Line Interface Basics +
<<settings_file_basics.adoc#settings_file_basics,Part 4.>> Settings File Basics +
<<build_file_basics.adoc#build_file_basics,Part 5.>> Build Files Basics +
<<dependency_management_basics.adoc#dependency_management_basics,Part 6.>> Dependencies and Dependency Management Basics +
<<task_basics.adoc#task_basics,Part 7.>> Tasks Basics +
<<gradle_optimizations.adoc#gradle_optimizations,Part 8.>> Incremental Builds and Build Caching Basics +
<<plugin_basics.adoc#plugin_basics,Part 9.>> Plugins Basics +
<<build_scans.adoc#build_scans,Part 10.>> Build Scan +

[[getting_started]]
== 2. Beginner Gradle Tutorial

The tutorial will take you from Gradle initialization all the way through to utilizing Gradle's task caching for your basic Java App.
No previous experience is necessary but a basic knowledge of Java and Kotlin is nice to have.

If you need to install Gradle before the tutorial, you can do so in the <<installation.adoc#installation,installation section>>.

[sidebar]
_Training level_: **Beginner** +
_Training time_: **55 minutes**

The tutorial covers:

<<part1_gradle_init#part1_begin,Part 1.>> Initializing the Project +
<<part2_gradle_tasks#part2_begin,Part 2.>> Running Tasks +
<<part3_gradle_dep_man#part3_begin,Part 3.>> Understanding Dependencies +
<<part4_gradle_plugins#part4_begin,Part 4.>> Applying Plugins +
<<part5_gradle_inc_builds#part5_begin,Part 5.>> Exploring Incremental Builds +
<<part6_gradle_caching#part6_begin,Part 6.>> Enabling the Cache
