Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 128 for projectFor (0.13 sec)

  1. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginToolchainsIntegrationTest.groovy

                    checkstyleClasspath = checkstyleFileCollection
                    configFile = file("\$projectDir/config/checkstyle/checkstyle.xml")
                    configDirectory = file("\$projectDir/config/checkstyle")
                    source = fileTree("\$projectDir/src/main")
                    classpath = objects.fileCollection().from("\$buildDir/classes")
                }
    """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 16 22:34:07 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  2. platforms/jvm/scala/src/integTest/groovy/org/gradle/integtests/ScalaAnnotationProcessingIntegrationTest.groovy

            when:
            AnnotationProcessorPublisher annotationProcessorPublisher = new AnnotationProcessorPublisher()
            annotationProcessorPublisher.writeSourceFiles()
            inDirectory(annotationProcessorPublisher.projectDir).withTasks('publish').run()
    
            then:
            annotationProcessorPublisher.publishedJarFile.isFile()
            annotationProcessorPublisher.publishedPomFile.isFile()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  3. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/android/RealLifeAndroidBuildPerformanceTest.groovy

                this.invocation = invocation
            }
    
            @Override
            void beforeScenario(ScenarioContext context) {
                def buildFile = new File(invocation.projectDir, "build.gradle")
                buildFile << """
                    def finalizerTask = tasks.register("testFinalizer")
                    subprojects {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:24:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/NestedInputIntegrationTest.groovy

            def project1 = file("project1").createDir()
            def project2 = file("project2").createDir()
            [project1, project2].each { projectDir ->
                taskWithNestedBeanWithAction(projectDir)
                def buildFile = projectDir.file("build.gradle")
                buildFile << """
                    apply plugin: 'base'
    
                    extensions.create("bean", NestedBeanWithAction.class)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/GeneratePrecompiledScriptPluginAccessors.kt

         */
        private
        fun projectSchemaFor(plugins: PluginRequests): Try<TypedProjectSchema> {
            val projectDir = uniqueTempDirectory()
            val startParameter = projectSchemaBuildStartParameterFor(projectDir)
            return createNestedBuildTree("$path:${projectDir.name}", startParameter, services).run { controller ->
                controller.withEmptyBuild { settings ->
                    Try.ofFailable {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:10:49 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  6. platforms/software/build-init/src/main/java/org/gradle/buildinit/tasks/InitBuild.java

        static final int MINIMUM_VERSION_SUPPORTED_BY_FOOJAY_API = 7;
        static final int DEFAULT_JAVA_VERSION = 21;
    
        private final Directory projectDir = getProject().getLayout().getProjectDirectory();
        private String type;
        private final Property<Boolean> splitProject = getProject().getObjects().property(Boolean.class);
        private String dsl;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 10 12:58:10 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionPropertyIntegrationTest.groovy

                    }
                }
    
                task show(type: SomeTask) {
                    def layout = project.layout
                    prop = [layout.projectDir.file("in.txt")]
                    doFirst {
                        prop.set([layout.projectDir.file("other.txt")])
                    }
                }
    """
            file("in.txt").createFile()
    
            when:
            fails("show")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectStateRegistryTest.groovy

            registry.stateFor(root.componentIdentifier).is(root)
            registry.stateFor(p1.componentIdentifier).is(p1)
            registry.stateFor(p2.componentIdentifier).is(p2)
    
            def projects = registry.projectsFor(build.buildIdentifier)
            projects.rootProject.is(root)
            projects.getProject(Path.ROOT).is(root)
            projects.getProject(Path.path(":p1")).is(p1)
            projects.getProject(Path.path(":p2")).is(p2)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelElementNode.java

            // TODO:LPTR Remove projection for reference node
            // This shouldn't be needed, but if there's no actual value referenced, model report can only
            // show the type of the node if we do this for now. It should use the schema instead to find
            // the type of the property node instead.
            ModelProjection projection = new EmptyReferenceProjection<T>(type);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformEnvironmentIntegrationTest.groovy

                    useJUnitPlatform()
    
                    systemProperties.isJava9 = "\${JavaVersion.current().isJava9Compatible()}"
                    systemProperties.testSysProperty = 'value'
                    systemProperties.projectDir = projectDir
                    environment.TEST_ENV_VAR = 'value'
                    testLogging.showStandardStreams = true
                }
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.5K bytes
    - Viewed (0)
Back to top