Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for buildAll (0.12 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r44/ParameterizedToolingModelCrossVersionSpec.groovy

                            return CustomParameter.class;
                        }
                        Object buildAll(String modelName, Project project) {
                            return new DefaultCustomModel();
                        }
                        Object buildAll(String modelName, CustomParameter parameter, Project project) {
                            return new DefaultCustomModel(parameter);
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/internal/tooling/RunBuildDependenciesTaskBuilder.java

        @Override
        public Class<EclipseRuntime> getParameterType() {
            return EclipseRuntime.class;
        }
    
        @Override
        public RunClosedProjectBuildDependencies buildAll(String modelName, EclipseRuntime eclipseRuntime, Project project) {
            this.projectOpenStatus = eclipseRuntime.getWorkspace().getProjects().stream()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiSpec.groovy

                        return modelName == "$SomeToolingModel.class.name"
                    }
                    Object buildAll(String modelName, Project project) {
                        return buildAll(modelName, null, project)
                    }
                    Object buildAll(String modelName, MyModelParameter parameter, Project project) {
                        def messagePrefix = parameter == null ? '' : parameter.messagePrefix
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. tests/integration/security/authz_test.go

    			config.New(t).
    				Source(config.File("testdata/authz/mtls.yaml.tmpl")).
    				Source(config.File("testdata/authz/allow-principal.yaml.tmpl").WithParams(
    					param.Params{
    						"Allowed": allowed,
    					})).
    				BuildAll(nil, to).
    				Apply()
    
    			newTrafficTest(t, fromAndTo).
    				FromMatch(fromMatch).
    				ToMatch(toMatch).
    				Run(func(t framework.TestContext, from echo.Instance, to echo.Target) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r89/ToolingApiPolymorphismCrossVersionTest.groovy

                class MyModelBuilder implements ToolingModelBuilder {
                    boolean canBuild(String modelName) {
                        return modelName == "${BaseModel.name}"
                    }
                    Object buildAll(String modelName, Project project) {
                        println("creating model for \$project")
                        return new org.gradle.integtests.tooling.fixture.DefaultModel("poly from '" + project.name + "'")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 11:03:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r30/CustomToolingModelCrossVersionSpec.groovy

    }
    
    class CustomThing implements Serializable {
    }
    
    class CustomBuilder implements ToolingModelBuilder {
        boolean canBuild(String modelName) {
            return modelName == '${CustomModel.name}'
        }
        Object buildAll(String modelName, Project project) {
            return new CustomModel()
        }
    }
    
    class CustomPlugin implements Plugin<Project> {
        @Inject
        CustomPlugin(ToolingModelBuilderRegistry registry) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r82/CustomToolingModelCrossVersionSpec.groovy

        byte[] payload = new byte[1024 * 1024]
    }
    
    class CustomBuilder implements ToolingModelBuilder {
        boolean canBuild(String modelName) {
            return modelName == '${CustomModel.name}'
        }
        Object buildAll(String modelName, Project project) {
            return new CustomModel(50)
        }
    }
    
    class CustomPlugin implements Plugin<Project> {
        @Inject
        CustomPlugin(ToolingModelBuilderRegistry registry) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r32/ResolutionExceptionSerializableCrossVersionSpec.groovy

        Exception failure
    }
    
    class CustomBuilder implements ToolingModelBuilder {
        boolean canBuild(String modelName) {
            return modelName == '${CustomArtifactModel.name}'
        }
        Object buildAll(String modelName, Project project) {
            try {
                List<File> compileDependencies = project.configurations.getByName('compileClasspath').files
                return new CustomArtifactModel(files: compileDependencies)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-tooling-builders/src/main/kotlin/org/gradle/declarative/dsl/tooling/builders/DeclarativeSchemaModelBuilder.kt

            }
        )
    
        override fun canBuild(modelName: String): Boolean =
            modelName == "org.gradle.declarative.dsl.tooling.models.DeclarativeSchemaModel"
    
        override fun buildAll(modelName: String, project: Project): Any {
            error("Model should be built before the configuration phase")
        }
    }
    
    
    private
    class DefaultDeclarativeSchemaModel(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/ProblemsServiceModelBuilderCrossVersionTest.groovy

                    }
    
                    boolean canBuild(String modelName) {
                        return modelName == '${CustomModel.name}'
                    }
                    Object buildAll(String modelName, Project project) {
                        problemsService.${pre86api ? "create" : "forNamespace(\"org.example.plugin\").reporting"} {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top