Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,521 for applyTo (0.23 sec)

  1. testing/integ-test/src/integTest/groovy/org/gradle/integtests/configuration/ExecuteDomainObjectCollectionCallbackBuildOperationTypeIntegrationTest.groovy

            buildFile << """
                ${requiresPlugins ? requiresPlugins.collect { "apply plugin: '${it}'" }.join('\n') : ''}
                ${callbackClass(containerAccess, callbackName)}
                ${addingPluginClass(containerItemCreation)}
                apply plugin: CallbackPlugin
                apply from: 'callbackScript.gradle'
                apply plugin: AddingPlugin
            """
    
            when:
            run('help')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  2. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomComponentIntegrationTest.groovy

                    @ComponentType
                    private void broken(TypeBuilder<?> builder) {
                    }
                }
                apply plugin: Broken
            """
    
            expect:
            fails "help"
            failure.assertHasCause("Failed to apply plugin class 'Broken'")
            failure.assertHasCause("""Type Broken is not a valid rule source:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 25.1K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/ProjectConfigurationProgressEventCrossVersionSpec.groovy

            file("buildSrc/build.gradle") << """
                allprojects {
                    apply plugin: 'java'
                }
            """
            buildFile << """
                allprojects {
                    apply plugin: 'java'
                }
            """
            file("included/build.gradle") << """
                allprojects {
                    apply plugin: 'java'
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryCompilationIntegrationTest.groovy

            toggleCompileClasspathPackaging(compileClasspathPackaging)
    
            given:
            subproject('a') {
                'build.gradle'('''
                    apply plugin: 'java-library'
                    dependencies {
                        api project(':b')
                    }
                ''')
                src {
                    main {
                        java {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 13:02:41 UTC 2024
    - 14K bytes
    - Viewed (0)
  5. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/FunctionalSourceSetIntegrationTest.groovy

            buildFile << """
            apply plugin: 'language-base'
    
            model {
                functionalSources(FunctionalSourceSet)
            }
            """
    
            expect:
            succeeds "model"
        }
    
        def "model report renders a functional source set and elements"() {
            buildFile << """
            apply plugin: 'language-base'
    
            ${registerJavaLanguage()}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  6. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/ComponentModelIntegrationTest.groovy

                class MyPlugin implements Plugin<Project> {
                    public void apply(Project project) {
                        project.getPlugins().apply(ComponentModelBasePlugin.class);
                        project.getPlugins().apply(JavaBasePlugin.class);
                    }
    
                    static class Rules extends RuleSource {
                        @Model("android")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/resolver/KotlinScriptDependenciesResolverTest.kt

            val previous = resolvedScriptDependencies(editedScript).apply {
                assertContainsBasicDependencies()
            }
    
            val wrongEnv = arrayOf("gradleHome" to existing("absent"))
            resolvedScriptDependencies(editedScript, previous, *wrongEnv).apply {
                assertSame(previous, this)
            }
    
            recorder.apply {
                assertLastEventIsInstanceOf(ResolutionFailure::class)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:12:50 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. platforms/jvm/ear/src/integTest/groovy/org/gradle/plugins/ear/EarPluginIntegrationTest.groovy

                project(":c") {
                    apply plugin: 'java'
                    dependencies {
                        implementation project(':d')
                        compileOnly project(':e')
                    }
                }
                project(":d") {
                    apply plugin: 'java'
                }
                project(":e") {
                    apply plugin: 'java'
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  9. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioMultiProjectIntegrationTest.groovy

                rootProject.name = 'app'
                include 'one', 'two', 'three'
            """
            buildFile << """
                apply plugin: 'cpp-application'
    
                project(':one') {
                    apply plugin: 'cpp-application'
                }
                project(':two') {
                    apply plugin: 'cpp-library'
                }
            """
    
            and:
            run ":visualStudio"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  10. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomComponentSourceSetIntegrationTest.groovy

                    }
                }
                apply plugin: CustomManagedLSSPlugin
    
                class TestRules extends RuleSource {
                    @Defaults
                    void useInternalView(@Path("components.sampleLib.sources.managed") CustomManagedLSS lss) {
                        lss.setSomeProperty("default value")
                    }
                }
                apply plugin: TestRules
    
                model {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 13.5K bytes
    - Viewed (0)
Back to top