Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for kotlinDslPath (0.26 sec)

  1. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr4_settings_file.adoc

    ----
    <1> `plugins({})` method from link:{kotlinDslPath}/gradle/org.gradle.kotlin.dsl/-kotlin-settings-script/index.html[KotlinSettingsScript] in the Kotlin DSL
    <2> `id()` method from the link:{kotlinDslPath}/gradle/org.gradle.plugin.use/-plugin-dependencies-spec/index.html[PluginDependenciesSpec API]
    <3> `getRootProject()` method from the link:{kotlinDslPath}/gradle/org.gradle.api.initialization/-settings/index.html[Settings API]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 17:16:27 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/overview/about_manual.adoc

    [[reference]]
    == Reference
    
    . Gradle's API link:{javadocPath}/index.html[Javadocs^]
    . Gradle's link:{groovyDslPath}/index.html[Groovy DSL^]
    . Gradle's link:{kotlinDslPath}/index.html[Kotlin DSL^]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 07:52:44 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr6_writing_tasks.adoc

        }
        doLast {
            println("NAMED TASK1 - doLast: This is executed during the execution phase")
        }
    }
    ----
    <1> You can use the link:{kotlinDslPath}/gradle/org.gradle.api.tasks/-task-container/index.html[register()] method to create new tasks.
    <2> You can use the link:{kotlinDslPath}/gradle/org.gradle.api.tasks/-task-collection/index.html[named()] method to configure existing tasks.
    =====
    [.multi-language-sample]
    =====
    .app/build.gradle
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 17:16:27 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/overview/quick_start.adoc

    [[reference]]
    === 3. API Reference
    
    Gradle's API references can be found in the links below:
    
    - link:{javadocPath}/index.html[Javadocs^]
    - link:{groovyDslPath}/index.html[Groovy DSL Reference^]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 18:58:37 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr5_build_scripts.adoc

    }
    
    // Additional lines //
    ----
    <1> Use the `plugins{}` block from link:{kotlinDslPath}/gradle/org.gradle.kotlin.dsl/-kotlin-settings-script/index.html[KotlinSettingsScript] in the Kotlin DSL
    <2> Apply the Java Gradle plugin development plugin to add support for developing Gradle plugins
    <3> Apply the Kotlin JVM plugin to add support for Kotlin
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 17:16:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/running-builds/introduction/settings_file_basics.adoc

    == Settings script
    
    The settings file is a script.
    It is either a `settings.gradle` file written in Groovy or a `settings.gradle.kts` file in Kotlin.
    
    The link:{groovyDslPath}/index.html[Groovy DSL^] and the link:{kotlinDslPath}/index.html[Kotlin DSL^] are the only accepted languages for Gradle scripts.
    
    The settings file is typically found in the root directory of the project.
    
    Let's take a look at an example and break it down:
    
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 18:33:11 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/running-builds/introduction/build_file_basics.adoc

    [[sec:build_script]]
    == Build scripts
    
    The build script is either a `build.gradle` file written in Groovy or a `build.gradle.kts` file in Kotlin.
    
    The link:{groovyDslPath}/index.html[Groovy DSL^] and the link:{kotlinDslPath}/index.html[Kotlin DSL^] are the only accepted languages for Gradle scripts.
    
    Let's take a look at an example and break it down:
    
    ====
    [.multi-language-sample]
    =====
    .build.gradle.kts
    [source,kotlin]
    ----
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 03:39:56 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    If you need to eagerly configure or register container elements simply replace link:{kotlinDslPath}/gradle/org.gradle.kotlin.dsl/existing.html[`existing()`] with link:{kotlinDslPath}/gradle/org.gradle.kotlin.dsl/getting.html[`getting()`] and link:{kotlinDslPath}/gradle/org.gradle.kotlin.dsl/registering.html[`registering()`] with link:{kotlinDslPath}/gradle/org.gradle.kotlin.dsl/creating.html[`creating()`].
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

                attributes.put("toc-title", "Contents");
                attributes.put("groovyDslPath", "../dsl");
                attributes.put("javadocPath", "../javadoc");
                attributes.put("kotlinDslPath", "../kotlin-dsl");
                // Used by SampleIncludeProcessor from `gradle/dotorg-docs`
                // TODO: This breaks the provider
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 05:46:51 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/writing_settings_files.adoc

    - In the Groovy DSL, the `Settings` object documentation is found link:{groovyDslPath}/org.gradle.api.initialization.Settings.html[here].
    - In the Kotlin DSL, the `Settings` object documentation is found link:{kotlinDslPath}/gradle/org.gradle.api.initialization/-settings/index.html[here].
    
    Many top-level properties and blocks in a settings script are part of the Settings API.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 04:15:25 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top