Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 653 for fanout (0.29 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/integtests/ExecIntegrationTest.groovy

                    File testFile = layout.buildDirectory.file(name).get().asFile
                    execOperations.javaexec {
                        assert !(it instanceof ExtensionAware)
                        it.classpath(execClasspath)
                        it.mainClass = 'org.gradle.TestMain'
                        it.args layout.projectDirectory.asFile, testFile
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 20:01:36 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            this.delegate = Objects.requireNonNull(delegate, "delegate cannot be null");
    
            ArtifactRepositoryLayout layout = delegate.getLayout();
            repo = new LocalRepository(
                    new File(delegate.getBasedir()),
                    (layout != null) ? layout.getClass().getSimpleName() : "legacy");
    
            /*
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:40:37 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/files/fileCollections/kotlin/build.gradle.kts

    import java.nio.file.Paths
    
    // tag::simple-params[]
    val collection: FileCollection = layout.files(
        "src/file1.txt",
        File("src/file2.txt"),
        listOf("src/file3.csv", "src/file4.csv"),
        Paths.get("src", "file5.txt")
    )
    // end::simple-params[]
    
    file("src").mkdirs()
    file("src/dir1").mkdirs()
    file("src/file1.txt").mkdirs()
    file("src2").mkdirs()
    file("src2/dir1").mkdirs()
    file("src2/dir2").mkdirs()
    
    // tag::closure[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 15 13:55:00 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheLifecyclePluginIntegrationTest.groovy

                        '$buildDir.name'
                    }
                }
    
                def service = gradle.sharedServices.registerIfAbsent('my', MyBuildService, {})
                layout.buildDirectory.set(
                    layout.projectDirectory.dir(
                        service.map {
                            // intentionally capture the `project` object to force a cc failure
                            // in case this gets serialized
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/service_injection.adoc

    include::sample[dir="snippets/providers/services/groovy",files="build.gradle[tags=project-layout]"]
    ====
    
    Here is an example using `javax.inject.Inject`:
    
    ====
    include::sample[dir="snippets/providers/services/kotlin",files="build.gradle.kts[tags=project-layout-inject]"]
    include::sample[dir="snippets/providers/services/groovy",files="build.gradle[tags=project-layout-inject]"]
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/files/sampleJavaProject/groovy/build.gradle

    // tag::inner-link-task-properties[]
    def archivesDirPath = layout.buildDirectory.dir('archives')
    // end::inner-link-task-properties[]
    
    tasks.register('packageClasses', Zip) {
        archiveAppendix = "classes"
        destinationDirectory = archivesDirPath
    
        from compileJava
    }
    // end::link-task-properties[]
    
    // tag::nested-specs[]
    tasks.register('nestedSpecs', Copy) {
        into layout.buildDirectory.dir("explodedWar")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:03:24 UTC 2024
    - 878 bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

            ArtifactRepositoryLayout layout = layouts.get(layoutId);
    
            checkLayout(id, layoutId, layout);
    
            return createArtifactRepository(id, url, layout, snapshots, releases);
        }
    
        private void checkLayout(String repositoryId, String layoutId, ArtifactRepositoryLayout layout)
                throws InvalidRepositoryException {
            if (layout == null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Feb 17 18:40:11 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/testing/junit-xml-results/groovy/build.gradle

        testImplementation 'junit:junit:4.13'
    }
    
    // tag::configure-location-task[]
    test {
        reports {
            junitXml.outputLocation = layout.buildDirectory.dir("test-junit-xml")
        }
    }
    // end::configure-location-task[]
    
    // tag::configure-location-convention[]
    java.testResultsDir = layout.buildDirectory.dir("junit-xml")
    // end::configure-location-convention[]
    
    // tag::configure-content[]
    test {
        reports {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:49:56 UTC 2024
    - 786 bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/CacheLayoutTest.groovy

    import org.gradle.cache.internal.CacheVersion
    import org.gradle.util.GradleVersion
    import spock.lang.Specification
    
    class CacheLayoutTest extends Specification {
    
        def "use root layout"() {
            when:
            CacheLayout cacheLayout = CacheLayout.MODULES
    
            then:
            cacheLayout.name == 'modules'
            cacheLayout.key == 'modules-2'
            cacheLayout.version == CacheVersion.of(2)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 12:06:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. build-logic/kotlin-dsl/src/main/kotlin/gradlebuild.kotlin-dsl-dependencies-embedded.gradle.kts

    plugins {
        id("gradlebuild.dependency-modules")
        kotlin("jvm")
    }
    
    // --- Enable automatic generation of API extensions -------------------
    val apiExtensionsOutputDir = layout.buildDirectory.dir("generated-sources/kotlin")
    
    val publishedKotlinDslPluginVersion = "4.4.0" // TODO:kotlin-dsl
    
    tasks {
        val generateKotlinDependencyExtensions by registering(GenerateKotlinDependencyExtensions::class) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 22:44:42 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top