Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for realizeNow (0.45 sec)

  1. platforms/native/language-native/src/test/groovy/org/gradle/language/swift/internal/DefaultSwiftLibraryTest.groovy

            binary.toolChain == toolChain
            binary.platformToolProvider == platformToolProvider
    
            library.binaries.realizeNow()
            library.binaries.get() == [binary] as Set
        }
    
        def "throws exception when development binary is not available"() {
            given:
            library.binaries.realizeNow()
    
            when:
            library.developmentBinary.get()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/test/groovy/org/gradle/language/swift/internal/DefaultSwiftApplicationTest.groovy

            binary.toolChain == toolChain
            binary.platformToolProvider == platformToolProvider
    
            app.binaries.realizeNow()
            app.binaries.get() == [binary] as Set
        }
    
        def "throws exception when development binary is not available"() {
            given:
            app.binaries.realizeNow()
    
            when:
            app.developmentBinary.get()
    
            then:
            def ex = thrown(IllegalStateException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/internal/DefaultCppLibraryTest.groovy

            !binary.optimized
            binary.targetPlatform == targetPlatform
            binary.toolChain == toolChain
            binary.platformToolProvider == platformToolProvider
    
            library.binaries.realizeNow()
            library.binaries.get() == [binary] as Set
        }
    
        def "can add static library"() {
            def targetPlatform = Stub(CppPlatform)
            def toolChain = Stub(NativeToolChainInternal)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/main/java/org/gradle/language/swift/plugins/SwiftApplicationPlugin.java

                            }
                        });
    
                // Configure the binaries
                application.getBinaries().realizeNow();
            });
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/main/java/org/gradle/language/cpp/plugins/CppApplicationPlugin.java

                                application.getMainPublication().addVariant(variantIdentity);
                            }
                        });
    
                // Configure the binaries
                application.getBinaries().realizeNow();
            });
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/main/java/org/gradle/language/internal/DefaultBinaryCollection.java

            elements.add(element);
        }
    
        /**
         * Realizes the contents of this collection, running configuration actions and firing notifications. No further elements can be added.
         */
        public void realizeNow() {
            if (state != State.Collecting) {
                throw new IllegalStateException("Cannot realize this collection as it has already been realized.");
            }
            state = State.Realizing;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/main/java/org/gradle/language/cpp/plugins/CppLibraryPlugin.java

                });
    
                library.getBinaries().realizeNow();
            });
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 30 15:38:28 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskRealizationBuildOperationIntegrationTest.groovy

            def uniqueId = Iterables.getOnlyElement(realizeOps*.details*.taskId as Set)
    
            when:
            configurationCacheRun(":foo")
            then:
            def realizeOp = buildOperations.only(RealizeTaskBuildOperationType)
            with(realizeOp.details) {
                taskPath == ":foo"
                taskId == uniqueId
                eager == true
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top