Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,813 for buildFile (0.41 sec)

  1. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/ComponentModelIntegrationTest.groovy

        def "setup"() {
            withCustomComponentType()
            buildFile << """
                model {
                    components {
                        main(CustomComponent)
                    }
                }
            """
        }
    
        void withMainSourceSet() {
            withCustomLanguageType()
            buildFile << """
                model {
                    components {
                        main {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  2. platforms/software/signing/src/integTest/groovy/org/gradle/plugins/signing/SigningTasksIntegrationSpec.groovy

            given:
            buildFile << """
                ${keyInfo.addAsPropertiesScript()}
                signing {
                    ${signingConfiguration()}
                    sign(jar)
                }
            """
    
            when:
            run "signJar"
    
            then:
            executedAndNotSkipped(":signJar")
    
            when:
            buildFile << """
                signing {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 8K bytes
    - Viewed (0)
  3. platforms/jvm/scala/src/integTest/groovy/org/gradle/integtests/ScalaAnnotationProcessingIntegrationTest.groovy

            annotationProcessorPublisher.publishedPomFile.isFile()
    
            when:
            buildFile << basicScalaProject()
            buildFile << annotationProcessorDependency(annotationProcessorPublisher.repoDir, annotationProcessorPublisher.dependencyCoordinates)
            buildFile << """
                configurations.annotationProcessor.extendsFrom configurations.compileOnly
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  4. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildTaskDependencyIntegrationTest.groovy

        }
    
        def "can depend on task with name in all included builds"() {
            when:
            BuildTestFile buildC = singleProjectBuild("buildC") {
                buildFile.text = buildB.buildFile.text
            }
            includedBuilds << buildC
    
            buildA.buildFile << """
        task delegate {
            dependsOn gradle.includedBuilds*.task(':logProject')
        }
    """
    
            execute(buildA, ":delegate")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/sourceset/GeneratedSourcesIntegrationTest.groovy

            mainSources*.writeToDir(file("src/main"))
            asmSources*.writeToDir(file("src/input"))
            degenerateInputSources()
    
            when:
            buildFile << app.pluginScript
            buildFile << app.extraConfiguration
            buildFile << """
    task generateAsmSources(type: GenerateSources) {
        inputDir project.file("src/input")
        sourceDir project.file("build/src/generated/asm")
    }
    
    model {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelGroovyScalarConfigurationIntegrationTest.groovy

                    }
                }
            }
    
            apply type: RulePlugin
            '''
    
        void 'only CharSequence input values are supported - #varname'() {
            when:
            buildFile << CLASSES
            buildFile << """
                model {
                    props {
                        $varname = new Object()
                    }
                }
                """
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  7. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomComponentBinariesIntegrationTest.groovy

                    sampleLibOtherBinary()
                }
            }
        }
    
        def "can register binaries using @ComponentBinaries rule"() {
            when:
            buildFile << withSimpleComponentBinaries()
            buildFile << '''
    
            model {
                tasks {
                    checkModel(Task) {
                        doLast {
                            def binaries = $.binaries
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/BinaryConfigurationIntegrationTest.groovy

            where:
            linkage << ["static", "shared"]
        }
    
        @Issue("GRADLE-3332")
        @NotYetImplemented
        def "can create helper task to install buildable executables"() {
            def helloWorldApp = new CppHelloWorldApp()
            given:
            buildFile << '''
    apply plugin: 'cpp'
    
    model {
        components {
            main(NativeExecutableSpec)
        }
    }
    task installDeveloperImage {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/internal/project/ProjectBuildFileIntegrationTest.groovy

        def "project.buildFile is non null when build file does not exist"() {
            expect:
            !buildFile.exists()
    
            when:
            createDirs("child")
            settingsFile << "include 'child'"
            def initScript = file("init.gradle") << """
                rootProject { 
                    assert buildFile.canonicalPath == '${buildFile.canonicalPath.replace("\\", "\\\\")}'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocIntegrationTest.groovy

            buildFile << """
                javadoc {
                    options.stylesheetFile = file('src/not-docs/custom.css')
                }
            """
            succeeds("javadoc")
            then:
            skipped(":javadoc")
        }
    
        def "can exclude a package by source path"() {
            buildFile << """
                plugins {
                    id 'java'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 06:04:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top