Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for kts$ (0.08 sec)

  1. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    include::sample[dir="snippets/kotlinDsl/multiProjectBuild/kotlin",files="settings.gradle.kts[tags=base];build.gradle.kts[tags=root];domain/build.gradle.kts[];infra/build.gradle.kts[];http/build.gradle.kts[]"]
    ====
    
    If your build requires additional plugin repositories on top of the Gradle Plugin Portal, you should declare them in the `pluginManagement {}` block in your `settings.gradle.kts` file, like so:
    
    .Declare additional plugin repositories
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/working_with_files.adoc

    For example, if you create a task that packages the compiled classes of a Java application,  you should use an implementation similar to this:
    
    ====
    include::sample[dir="snippets/files/sampleJavaProject/kotlin",files="build.gradle.kts[tags=link-task-properties]"]
    include::sample[dir="snippets/files/sampleJavaProject/groovy",files="build.gradle[tags=link-task-properties]"]
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 70.5K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    Consider the following code that showcases the deprecated behavior:
    
    =====
    [.multi-language-sample]
    ======
    .build.gradle.kts
    [source,kotlin]
    ----
    plugins {
        id("java-library")
    }
    
    configurations.runtimeClasspath {
        // `beforeResolve` is called after the configuration is resolved for task dependencies,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/jvm/java_testing.adoc

    .Creating a unit test report for subprojects
    ====
    include::sample[dir="snippets/testing/testReport/kotlin",files="buildSrc/src/main/kotlin/myproject.java-conventions.gradle.kts[tags=test-report];build.gradle.kts[tags=test-report]"]
    include::sample[dir="snippets/testing/testReport/groovy",files="buildSrc/src/main/groovy/myproject.java-conventions.gradle[tags=test-report];build.gradle[tags=test-report]"]
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 53.1K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/optimizing-performance/configuration_cache.adoc

    ====
    include::sample[dir="snippets/configurationCache/topLevel/kotlin",files="build.gradle.kts[tags=not-supported]"]
    ====
    
    To make the Kotlin version of this task compatible with the configuration cache, make the following changes:
    ====
    include::sample[dir="snippets/configurationCache/topLevel/kotlin",files="build.gradle.kts[tags=workaround]"]
    ====
    <1> Define the method inside an object.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 71.1K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/optimizing-performance/incremental_build.adoc

    include::sample[dir="snippets/tasks/inputNormalizationPropertiesFiles/groovy",files="build.gradle[tags=ignore-property-selected]"]
    ====
    
    .Ignore a property in all properties files
    ====
    include::sample[dir="snippets/tasks/inputNormalizationPropertiesFiles/kotlin",files="build.gradle.kts[tags=ignore-property-all]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:14:04 UTC 2024
    - 63.9K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_4.adoc

    =====
    [.multi-language-sample]
    =====
    .build.gradle.kts
    [source,kotlin]
    ----
    task<Wrapper>("wrapper") {
        ...
    }
    ----
    =====
    ====
    
    to this:
    
    ====
    [.multi-language-sample]
    =====
    .build.gradle
    [source, groovy]
    ----
    wrapper {
        ...
    }
    ----
    =====
    [.multi-language-sample]
    =====
    .build.gradle.kts
    [source,kotlin]
    ----
    tasks.wrapper {
        ...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceIntegrationTest.groovy

            given:
            createDir("plugins") {
                file("settings.gradle.kts") << """
                    include("service-plugin")
                    include("convention-kotlin-plugin")
                    include("convention-groovy-plugin")
                """
                file("service-plugin/build.gradle.kts") << """
                    plugins {
                        id("java-gradle-plugin")
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 61K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_7.adoc

    ====
    [.multi-language-sample]
    =====
    [source,kotlin]
    ----
    .
    ├── settings.gradle.kts
    └── nested
        ├── settings.gradle.kts
        └── nestedNested
            └── settings.gradle.kts
    ----
    .settings.gradle.kts
    [source,kotlin]
    ----
    includeBuild("nested")
    ----
    .nested/settings.gradle.kts
    [source,kotlin]
    ----
    includeBuild("nestedNested")
    ----
    =====
    [.multi-language-sample]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemReportingIntegrationTest.groovy

            }
        }
    
        def "reports problems in project Kotlin build scripts"() {
            settingsFile << """
                include 'a'
            """
            file("a/build.gradle.kts") << """
                gradle.buildFinished { }
                tasks.register("broken") {
                    doFirst {
                        println(project.name)
                    }
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 56.7K bytes
    - Viewed (0)
Back to top