Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for moduleDir (0.13 sec)

  1. platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/api/internal/classpath/DefaultModuleRegistryTest.groovy

            given:
            def module1Dir = createModule("some-module", properties(projects: 'gradle-module-2'))
            def module2Dir = createModule("module-2", properties(projects: 'gradle-module-3'))
            def module3Dir = createModule("module-3", properties(projects: ''))
            def registry = defaultModuleRegistryFor([module1Dir, module2Dir, module3Dir])
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/AbstractMavenModule.groovy

        TestFile getPomFileForPublish() {
            return moduleDir.file("$artifactId-${publishArtifactVersion}.pom")
        }
    
        @Override
        TestFile getMetaDataFile() {
            moduleDir.file(metadataFileName)
        }
    
        TestFile getRootMetaDataFile() {
            moduleDir.parentFile.file(metadataFileName)
        }
    
        TestFile getSnapshotMetaDataFile() {
            moduleDir.file(metadataFileName)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ivy/IvyFileModule.groovy

            }
        }
    
        IvyFileModule(String ivyPattern, String artifactPattern, String modulePath, TestFile moduleDir, String organisation, String module, String revision, boolean m2Compatible) {
            this.modulePath = modulePath
            this.ivyPattern = ivyPattern
            this.artifactPattern = artifactPattern
            this.moduleDir = moduleDir
            this.organisation = organisation
            this.module = module
            this.revision = revision
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenDynamicResolveIntegrationTest.groovy

            failure.assertHasCause("Could not GET '${metaData.uri}'. Received status code 500 from server")
    
            when:
            metaData.expectGetMissing()
    
            def moduleDir = mavenHttpRepo.directory("group", "projectA")
            moduleDir.expectGetBroken()
    
            then:
            fails 'retrieve'
    
            and:
            failure.assertHasCause('Could not resolve group:projectA:1.+.')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  5. pkg/wasm/cache.go

    	sha := sha256.Sum256([]byte(mkey.name))
    	hashedName := hex.EncodeToString(sha[:])
    	moduleDir := filepath.Join(baseDir, hashedName)
    	if err := os.Mkdir(moduleDir, 0o755); err != nil && !os.IsExist(err) {
    		return "", err
    	}
    	return filepath.Join(moduleDir, fmt.Sprintf("%s.wasm", mkey.checksum)), nil
    }
    
    // Get returns path the local Wasm module file.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. pkg/wasm/cache_test.go

    	t.Helper()
    	sha := sha256.Sum256([]byte(resourceName))
    	moduleDir := filepath.Join(baseDir, hex.EncodeToString(sha[:]))
    	if _, err := os.Stat(moduleDir); errors.Is(err, os.ErrNotExist) {
    		err := os.Mkdir(moduleDir, 0o755)
    		if err != nil {
    			t.Fatalf("failed to create module dir %s: %v", moduleDir, err)
    		}
    	}
    	return filepath.Join(moduleDir, filename)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  7. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishBasicIntegTest.groovy

            javaLibrary.assertPublishedAsJavaModule()
            javaLibrary.removeGradleMetadataRedirection()
            javaLibrary.parsedIvy.status == 'integration'
            javaLibrary.moduleDir.file('root-1.0.jar').assertIsCopyOf(file('build/libs/root-1.0.jar'))
    
            and:
            resolveArtifacts(javaLibrary) { expectFiles 'root-1.0.jar' }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/HttpAuthenticationDependencyResolutionIntegrationTest.groovy

            and:
            moduleA.ivy.expectGet('username', 'password')
            moduleA.jar.expectGet('username', 'password')
            server.expectGetDirectoryListing("/repo/group/projectB/", 'username', 'password', moduleB.backingModule.moduleDir.parentFile)
            moduleB.ivy.expectGet('username', 'password')
            moduleB.jar.expectGet('username', 'password')
    
            then:
            succeeds('listJars')
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  9. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishIssuesIntegTest.groovy

                    artifact file("${artifactPath}")
                }
            }
        }
        """
    
            when:
            succeeds 'publish'
    
            then:
            def shaOneFile = module.moduleDir.file("publish-2.bin.sha1")
            shaOneFile.exists()
            shaOneFile.text == "00e14c6ef59816760e2c9b5a57157e8ac9de4012"
        }
    
        @Issue("GRADLE-2681")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 19:31:52 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/NormalizingExcludeFactoryTest.groovy

            def operand6 = moduleId('fact', 'grass')
            def operand7 = moduleId('crib', 'planes')
            def operand8 = moduleId('stove', 'pull')
            def operand9 = moduleId('calculator', 'suggestion')
            def operand10 = moduleId('beginner', 'plough')
            def operand11 = moduleId('insurance', 'hat')
            def operand12 = moduleId('toys', 'plant')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 17K bytes
    - Viewed (0)
Back to top