Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for sample (0.82 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ScalarTypesInManagedModelIntegrationTest.groovy

                }
    
                model {
                    gradleFileContainer(FileContainer) {
                        file = file('sample.txt')
                    }
    
                    jdkFileContainer(FileContainer) {
                        file = new File('sample.txt')
                    }
                }
            '''
    
            then:
            succeeds "model"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  2. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/SamplesGenerator.kt

                .create().generate()
            projectLayoutSetupRegistry.templateOperationFactory.newTemplateOperation()
                .withTemplate(templateFolder.template("build.sample.conf"))
                .withTarget(settings.target.file("../tests/build.sample.conf").asFile)
                .create().generate()
        }
    
        private
        fun tasksExecuted(descriptor: CompositeProjectInitDescriptor): Int {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 17:51:21 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

                attributes.put("snippetsPath", "snippets");
                // Make sure the 'raw' location of the samples is available in all AsciidoctorTasks to access files with expected outputs in the 'tests' folder for inclusion in READMEs
                attributes.put("samplesPath", extension.getUserManual().getStagingRoot().dir("raw/samples").get().getAsFile());
                task.attributes(attributes);
            });
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 05:46:51 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/project/DeclarativeDslProjectBuildFileIntegrationSpec.groovy

                            id = "com.example.restricted"
                            implementationClass = "com.example.restricted.RestrictedPlugin"
                        }
                        create("softwareTypeRegistrator") {
                            id = "com.example.restricted.ecosystem"
                            implementationClass = "com.example.restricted.SoftwareTypeRegistrationPlugin"
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/compile/BuildScriptCompileAvoidanceIntegrationTest.kt

            configureProjectAndExpectCompileAvoidanceWarnings().assertBuildScriptCompiled().assertOutputContains("foo")
                .assertContainsCompileAvoidanceWarning("buildSrc.jar: class com/example/Foo: Unknown Kotlin metadata with kind: 42 on class com/example/Foo - this can happen if this class is compiled with a later Kotlin version than the Kotlin compiler used by Gradle")
    
            givenJavaClassInBuildSrcContains(
                """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:42 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ProviderInternal.java

     *     <li>a fixed value with fixed content, for example a {@code Provider<String>} with a fixed value.</li>
     *     <li>a fixed value with changing content, for example a {@code Provider<RegularFile>} where the file path is hardcoded in a build script or plugin but the file content is built by a task.</li>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. JavadocStyleGuide.md

    # Gradle Javadoc Style Guide
    
    ## 1.1 Formatting
    
    ### 1.1.1 General form
    
    The basic formatting of Javadoc blocks is as seen in this example:
    
    ```java
    /**
     * Returns an Image object that can then be painted on the screen.
     * <p>
     * The url argument must specify an absolute {@link URL}. 
     * The name argument is a specifier that is relative to the url argument.
     * This method always returns immediately, whether or not the image exists. 
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 15:43:07 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt

        val pmavenCommon = "org.sonatype.pmaven:pmaven-common"
        val pmavenGroovy = "org.sonatype.pmaven:pmaven-groovy"
        val slf4jApi = "org.slf4j:slf4j-api"
        val slf4jSimple = "org.slf4j:slf4j-simple"
        val snakeyaml = "org.yaml:snakeyaml"
        val testng = "org.testng:testng"
        val tomlj = "org.tomlj:tomlj"
        val trove4j = "org.jetbrains.intellij.deps:trove4j"
        val jna = "net.java.dev.jna:jna"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 22:44:42 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ProjectExtensions.kt

            project.fileCollectionOf(
                gradleKotlinDslOf(project),
                "gradleKotlinDsl"
            ) as FileCollectionInternal
        )
    
    
    /**
     * Nested `plugins` blocks are **NOT** allowed, for example:
     * ```
     * project(":core") {
     *   plugins { java }
     * }
     * ```
     * If you need to apply a plugin imperatively, please use apply<PluginType>() or apply(plugin = "id") instead.
     * ```
     * project(":core") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 09:50:04 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Combinators.kt

     * Can be combined with other parsers in the usual way and its delegate can be set at a later moment in time.
     *
     * It can also be used to create recursive parsers.
     * For example, a parser for a balanced parenthesized symbolic expression can be defined as:
     * ```kotlin
     * var parser by reference<String>()
     * parser = paren(parser) + token(IDENTIFIER) { tokenText }
     * ```
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 12.9K bytes
    - Viewed (0)
Back to top