You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The console output shown (basic Groovy project with Groovy DSL) does not match the newest Gradle version and don't match the code shown later on the page (Kotlin Application with Kotlin DSL)
Context (optional)
I wanted to go through the tutorial and had trouble figuring out whether what I'm doing is correct or not.
$ gradle init
Select type of project to generate:
1: basic
2: application
3: library
4: Gradle plugin
Enter selection (default: basic) [1..4] 1
Select implementation language:
1: C++
2: Groovy
3: Java
4: Kotlin
5: Scala
6: Swift
Enter selection (default: Java) [1..6] 2
Select build script DSL:
1: Groovy
2: Kotlin
Enter selection (default: Groovy) [1..2] 1
Project name (default: demo):
Source package (default: demo):
BUILD SUCCESSFUL
2 actionable tasks: 2 executed
The actual output:
$ gradle init
Select type of build to generate:
1: Application
2: Library
3: Gradle plugin
4: Basic (build structure only)
Enter selection (default: Application) [1..4] 1
Select implementation language:
1: Java
2: Kotlin
3: Groovy
4: Scala
5: C++
6: Swift
Enter selection (default: Java) [1..6] 2
Enter target Java version (min: 7, default: 21):
Project name (default: test):
Select application structure:
1: Single application project
2: Application and library project
Enter selection (default: Single application project) [1..2]
Select build script DSL:
1: Kotlin
2: Groovy
Enter selection (default: Kotlin) [1..2]
Generate build using new APIs and behavior (some features may change in the next minor release)? (default: no) [yes, no]
> Task :init
To learn more about Gradle by exploring our Samples at https://docs.gradle.org/8.7/samples/sample_building_kotlin_applications.html
BUILD SUCCESSFUL in 3m 7s
1 actionable task: 1 executed
Issue type
Missing information
Problem description
In section:
https://docs.gradle.org/current/samples/sample_building_kotlin_applications.html#run_the_init_task
The console output shown (basic Groovy project with Groovy DSL) does not match the newest Gradle version and don't match the code shown later on the page (Kotlin Application with Kotlin DSL)
Context (optional)
I wanted to go through the tutorial and had trouble figuring out whether what I'm doing is correct or not.
Page with the problem
https://docs.gradle.org/current/samples/sample_building_kotlin_applications.html
The text was updated successfully, but these errors were encountered: