Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for readAllBytes (0.25 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

                Artifact artifact = createArtifact("artifact", "1.0");
    
                File file = new File(artifactBasedir, "artifact-1.0.jar");
                assertEquals("dummy", new String(Files.readAllBytes(file.toPath()), StandardCharsets.UTF_8).trim());
    
                artifactDeployer.deploy(file, artifact, remoteRepository(), localRepository());
    
                ArtifactRepository remoteRepository = remoteRepository();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. build-logic-settings/UpdateDevelocityPluginVersion.java

                "settings.gradle.kts"
            };
    
            for (String file : files) {
                File f = new File(file);
                if (f.exists()) {
                    String content = new String(Files.readAllBytes(f.toPath()));
                    content = content.replaceAll("com.gradle:develocity-gradle-plugin:[\\d\\.]*\"", "com.gradle:develocity-gradle-plugin:" + newVersion + '"');
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Sep 12 07:58:50 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top