Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 236 for isIsolated (0.24 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/SimpleGeneratedJavaClassCompilerTest.groovy

            normaliseLineSeparators(ex.message) == """Unable to compile generated sources:
      - File A.java, line: 2, reached end of file while parsing"""
        }
    
        def "compiler is isolated from the Gradle API"() {
            when:
            compile(source("A", """
                import org.gradle.api.internal.catalog.DefaultVersionCatalog;
    
                class A {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. .teamcity/README.md

    We use Kotlin portable DSL to store TeamCity configuration, which means you can easily create a new pipeline
    based on a specific branch. Currently, we have two pipelines: `master` and `release`, but you can easily create
    and test another isolated pipeline from any branch. 
    
    We'll explain everything via an example. Let's say you make some changes on your branch `myTestBranch`
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 23:02:25 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiCompositeBuildsIntegrationTest.groovy

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.isolated
    
    class IsolatedProjectsToolingApiCompositeBuildsIntegrationTest extends AbstractIsolatedProjectsToolingApiIntegrationTest {
    
        def "invalidates cached state when plugin in buildSrc changes"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/DelegatedGradlePropertiesIntegrationTest.kt

                cliOverriddenUserHomeProperty=user home value
    
                projectMutatedUserHomeProperty=user home value
                """.trimIndent()
            )
    
            // and: isolated gradle user home
            executer.withGradleUserHomeDir(existing("gradle-user-home"))
            executer.requireIsolatedDaemons()
    
            // and: gradle command line with properties
            val buildArguments = arrayOf(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  5. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonIntegrationTest.groovy

            when:
            withInstallations(AvailableJavaHomes.jdk11).succeeds("runInDaemon")
    
            then:
            assertWorkerExecuted("runInDaemon")
        }
    
        def "worker application classpath is isolated from the worker process classloader"() {
            fixture.workActionThatCreatesFiles.action += """
                try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/util/internal/ConfigureUtil.java

            if (configureClosure == null) {
                return Actions.doNothing();
            }
    
            return new WrappedConfigureAction<T>(configureClosure);
        }
    
        /**
         * Creates an isolated action that uses the given closure to configure objects of type T.
         */
        public static <T> IsolatedAction<T> configureUsingIsolatedAction(@Nullable final Closure configureClosure) {
            if (configureClosure == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 17:40:52 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/build/KotlinDslTestProjectInitiation.groovy

                dependencies {
                    "runtimeOnly"(project(":a"))
                    "runtimeOnly"(project(":b"))
                }
            """)
    
            // Duplication in build scripts to avoid Isolated Projects violations without introducing shared build logic
            withBuildScriptIn("buildSrc/a", """
                plugins {
                    id("org.gradle.kotlin.kotlin-dsl")
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/DefaultVariantTransformRegistry.java

    import org.gradle.internal.Cast;
    import org.gradle.internal.instantiation.InstantiationScheme;
    import org.gradle.internal.instantiation.InstantiatorFactory;
    import org.gradle.internal.isolated.IsolationScheme;
    import org.gradle.internal.logging.text.TreeFormatter;
    import org.gradle.internal.service.ServiceRegistry;
    
    import javax.annotation.Nullable;
    import java.util.ArrayList;
    import java.util.List;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsAccessFromGroovyDslIntegrationTest.groovy

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.isolated
    
    import org.gradle.api.provider.Property
    import org.gradle.util.internal.ToBeImplemented
    import spock.lang.Issue
    
    class IsolatedProjectsAccessFromGroovyDslIntegrationTest extends AbstractIsolatedProjectsIntegrationTest {
    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/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/StreamingBuildActionCrossVersionTest.groovy

                finished.await()
            }
    
            then:
            models.size() == 2
            models[0] instanceof GradleProject
            models[1] instanceof CustomModel
        }
    
        def "listener is isolated when it fails with an exception"() {
            when:
            def listener = { throw new RuntimeException("broken") } as StreamedValueListener
    
            withConnection {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 03:20:59 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top