Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 55 for New (0.03 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy

            KeyStore ks = KeyStore.getInstance(KeyStoreKeySource.KEYSTORE_TYPE)
            keyStoreFile.withInputStream { ks.load(it, new char[]{'c', 'c'}) }
            ks.deleteEntry("gradle-secret")
            keyStoreFile.withOutputStream { ks.store(it, new char[]{'c', 'c'}) }
    
            when:
            runWithEncryption()
    
            then:
            configurationCache.assertStateStored()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            )
            return violation
        }
    
        private static String prettyPrintJson(def acceptanceJson) {
            def stringWriter = new StringWriter()
            new JsonWriter(stringWriter).withCloseable { writer ->
                writer.setIndent("    ")
                new Gson().toJson(acceptanceJson, AcceptedApiChange, writer)
            }
            return stringWriter.toString()
        }
    
        String getCurrentVersion() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheUnsupportedTypesIntegrationTest.groovy

            ByteArrayOutputStream                 | OutputStream                   | "new java.io.ByteArrayOutputStream()"
            FileDescriptor                        | FileDescriptor                 | "FileDescriptor.in"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsIntegrationTest.groovy

            return """
                class TestInputStream extends FileInputStream {
                    TestInputStream(String path) {
                        super(new File(path))
                    }
                }
    
                def fin = new TestInputStream(file("testInput.txt").path)
                try {
                    System.out.bytes = fin.bytes
                } finally {
                    fin.close()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 36K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOptionsIntegrationTest.groovy

                    it.getOutputDir().set(new File(project.buildDir, "mytask"))
                }
    
                tasks.register("consumer", ConsumerTask.class) {
                    it.getOutputFile().set(new File(project.buildDir, "consumer/out.txt"))
    
                    MyTask myTask = (MyTask) tasks.getByName("myTask")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/DefaultResolvedDependencySpec.groovy

            DefaultResolvedDependency resolvedDependency = new DefaultResolvedDependency("someConfiguration", newId("someGroup", "someName", "someVersion"), buildOperationProcessor)
    
            DefaultResolvedDependency parent1 = new DefaultResolvedDependency("p1", newId("someGroup", "someChild", "someVersion"), buildOperationProcessor)
            parent1.addChild(resolvedDependency)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParallelConfigurationIntegrationTest.groovy

    import org.junit.Rule
    
    class IsolatedProjectsToolingApiParallelConfigurationIntegrationTest extends AbstractIsolatedProjectsToolingApiIntegrationTest {
        @Rule
        BlockingHttpServer server = new BlockingHttpServer()
    
        def setup() {
            server.start()
        }
    
        def "projects are configured and models created in parallel when project scoped model is queried concurrently"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiPhasedBuildActionIntegrationTest.groovy

            file("a/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
    
            when:
            executer.withArguments(ENABLE_CLI)
            def models = runPhasedBuildAction(new FetchPartialCustomModelForEachProject(), new FetchCustomModelForEachProject())
    
            then:
            def messages = models.left
            messages.size() == 2
            messages[0] == "It works from project :"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsAccessFromGroovyDslIntegrationTest.groovy

            "resources.text.fromFile('1.txt', 'UTF-8')"                | ""
            "fromTask"                                                 | "def fromTask = new Object() { def buildDependencies = tasks.help.taskDependencies }"
            "artifacts.add('default', new File('a.txt'))"              | "configurations.create('default')"
            "dependencies.project([path: ':', configuration: 'test'])" | "plugins { id('java') }"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIncompatibleTasksIntegrationTest.groovy

        ConfigurationCacheFixture fixture = new ConfigurationCacheFixture(this)
    
        def "reports incompatible task serialization error and discards cache entry when task is scheduled"() {
            given:
            withBrokenSerializableType()
            addTasksWithProblems('new BrokenSerializable()')
    
            when:
            configurationCacheRun("declared")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top