Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 468 for Supplied (0.43 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r18/BuildActionCrossVersionSpec.groovy

            when:
            withConnection {
                it.action(new BrokenAction()).run()
            }
    
            then:
            BuildActionFailureException e = thrown()
            e.message == /The supplied build action failed with an exception./
            e.cause instanceof BrokenAction.CustomException
    
            and:
            failure.assertHasDescription('this is a custom exception')
            assertHasConfigureFailedLogging()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/jvm/Jvm.java

         * This method is intended to be used for user supplied java homes.
         *
         * @param javaHome - location of your jdk or jre (jdk is safer), cannot be null
         * @return jvm for given java home
         * @throws org.gradle.internal.jvm.JavaHomeException when supplied javaHome does not seem to be a valid jdk or jre location
         * @throws IllegalArgumentException when supplied javaHome is not a valid folder
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:57:34 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/BuildTreeModel.kt

     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.models
    
    import org.gradle.internal.extensions.stdlib.uncheckedCast
    
    
    /**
     * Model built by a build action supplied via Tooling API
     */
    sealed class BuildTreeModel {
    
        abstract fun <T> result(): T?
    
        object NullModel : BuildTreeModel() {
            override fun <T> result(): T? = null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1K bytes
    - Viewed (0)
  4. platforms/core-runtime/daemon-services/src/main/java/org/gradle/api/internal/tasks/userinput/UserInputReader.java

         * Called when the current process starts receiving user input from the client.
         */
        void startInput();
    
        void putInput(UserInput input);
    
        /**
         * Returns a {@link TextResponse} containing text supplied by the user, or {@link #END_OF_INPUT} if interrupted.
         */
        UserInput readInput();
    
        abstract class UserInput {
            abstract String getText();
        }
    
        UserInput END_OF_INPUT = new UserInput() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r48/PhasedBuildActionCrossVersionSpec.groovy

                    .build()
    
                collectOutputs(action)
                action.run()
            }
    
            then:
            BuildActionFailureException e = thrown()
            e.message == "The supplied phased action failed with an exception."
            e.cause instanceof RuntimeException
            e.cause.message == "actionFailure"
            projectsLoadedHandler.getResult() == null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/utils/SublistMerger.kt

    import org.jetbrains.kotlin.utils.addToStdlib.partitionIsInstance
    
    /**
     * With each call to [merge], [SublistMerger] can merge all elements of a specific (reified) type into a single element using a supplied
     * constructor and then add it to [destination]. Unmerged elements are added to [destination] using [finish].
     *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/jvm/JvmTest.groovy

            def jvm = Jvm.current()
    
            then:
            jvm.isIbmJvm()
    
            where:
            vendorProperty << ['java.vendor', 'java.vm.vendor']
        }
    
        def "finds executable for java home supplied"() {
            System.properties['java.vm.vendor'] = 'Sun'
    
            when:
            def home = tmpDir.createDir("home")
            home.create {
                jre {
                    bin {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/transformation/OriginReplacement.kt

     */
    object OriginReplacement {
        /**
         * Replaces receivers matching a predicate with a replacement receiver.  The replacement returns a deep copy of the receiver hierarchy of the
         * supplied {@link ObjectOrigin} with the given replacement applied.
         */
        fun replaceReceivers(replaceIn: ObjectOrigin, predicate: (ObjectOrigin.ReceiverOrigin) -> Boolean, replacement: ObjectOrigin.ReceiverOrigin): ObjectOrigin =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 14:27:23 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/types/AbstractAbbreviatedTypeTest.kt

    /**
     * Renders the properties and the textual representation of a callable's return type specified via `// callable: ID`. The varying
     * [TestModuleKind][org.jetbrains.kotlin.analysis.test.framework.test.configurators.TestModuleKind] supplied by generated tests applies to
     * the expansion-site module instead of the use-site module in these tests, as we want to check the `KaType` when it's built with an
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/connection/CancellableActionRunner.java

                } catch (RuntimeException e) {
                    throw exceptionTransformer.transform(e);
                }
            } catch (InternalBuildActionFailureException e) {
                throw new BuildActionFailureException("The supplied build action failed with an exception.", e.getCause());
            }
            return result.getModel();
        }
    
        @SuppressWarnings("deprecation")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top