Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 4,543 for ApplyG (0.34 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/EvaluationContextTest.groovy

        def "re-evaluating the owner in #evaluator throws exception when intermediate owner is involved"() {
            def otherOwner = createOwner()
    
            when:
            evaluator.apply(owner) {
                evaluator.apply(otherOwner) {
                    evaluator.apply(this.owner) {}
                }
            }
    
            then:
            EvaluationContext.CircularEvaluationException ex = thrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 20:21:33 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/PluginApplicationErrorIntegrationTest.groovy

            failure.assertHasCause("Failed to apply plugin 'broken'")
            failure.assertHasCause("throwing plugin")
        }
    
        def "reports failure to apply plugin by type"() {
            buildFile << '''
    apply plugin: BrokenPlugin
    
    class BrokenPlugin implements Plugin<Project> {
        void apply(Project target) {
            throw new Exception('throwing plugin')
        }
    }
    '''
    
            when:
            fails()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/test/groovy/org/gradle/swiftpm/plugins/SwiftPackageManagerExportPluginTest.groovy

            project.pluginManager.apply(SwiftPackageManagerExportPlugin)
    
            project.pluginManager.apply("swift-application")
            lib1Project.pluginManager.apply("swift-library")
            lib2Project.pluginManager.apply("swift-library")
            lib3Project.pluginManager.apply("swift-library")
    
            project.application.sourceCompatibility = SwiftVersion.SWIFT3
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  4. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaJavaLanguageSettingsIntegrationTest.groovy

    configure(project(':subprojectA')) {
        apply plugin: 'java'
        apply plugin: 'idea'
        java.targetCompatibility = '1.6'
    }
    
    configure(project(':subprojectB')) {
        apply plugin: 'java'
        apply plugin: 'idea'
        java.targetCompatibility = '1.7'
    }
    
    configure(project(':subprojectC')) {
        apply plugin: 'java'
        apply plugin: 'idea'
        java.targetCompatibility = '1.8'
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpPluginTest.groovy

        }
    
        def "has description"() {
            when:
            wtpPlugin.apply(project)
    
            then:
            wtpPlugin.lifecycleTask.get().description
            wtpPlugin.cleanTask.get().description
        }
    
        def "does not break when eclipse and eclipseWtp applied"() {
            expect:
            project.apply plugin: 'eclipse'
            project.apply plugin: 'eclipse-wtp'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 08 10:14:49 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  6. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeSwiftExternalSourceDependenciesIntegrationTest.groovy

                buildFile << """
                    apply plugin: 'swift-library'
                    apply plugin: 'xcode'
                """
                fixture.library.writeToProject(it)
            }
            def commit = repo.commit('initial commit')
    
            and:
            singleProjectBuild("app") {
                buildFile << """
                    apply plugin: 'swift-application'
                    apply plugin: 'xcode'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  7. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpModelIntegrationTest.groovy

            def build = file('build.gradle')
            build << """
    project(':impl') {
      apply plugin: 'java'
      apply plugin: 'war'
      apply plugin: 'eclipse-wtp'
    
      dependencies { implementation project(':contrib') }
    
      eclipse.project.name = 'cool-impl'
    }
    
    project(':contrib') {
      apply plugin: 'java'
      apply plugin: 'eclipse-wtp'
      //should not have war nor ear applied
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  8. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeMultipleProjectIntegrationTest.groovy

                allprojects {
                    apply plugin: 'xcode'
                }
                apply plugin: 'swift-application'
                project(':app') {
                    apply plugin: 'swift-application'
                    dependencies {
                        implementation project(':greeter')
                    }
                }
                project(':greeter') {
                    apply plugin: 'swift-library'
                }
    """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 03:57:28 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/RuleSourceApplicationTest.groovy

        }
    
        def "can apply a rule source by id"() {
            when:
            def project = buildProject()
            project.apply plugin: 'custom-rule-source'
    
            then:
            project.modelRegistry.realize("foo", String) == "bar"
        }
    
        def "can apply a rule source by type"() {
            when:
            def project = buildProject()
            project.apply type: CustomRuleSource
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/idea/model/IdeaModuleTest.groovy

            given:
            project.getPlugins().apply(IdeaPlugin)
            project.getPlugins().apply(JavaPlugin)
            moduleProject.getPlugins().apply(JavaPlugin)
            moduleProject.sourceCompatibility = 1.5
            project.sourceCompatibility = 1.5
    
            def iml = Mock(IdeaModuleIml)
            def module = TestUtil.newInstance(IdeaModule, moduleProject, iml)
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top