Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for withRole (0.81 sec)

  1. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/configure/NativeBinaries.java

                createNativeBinary(StaticLibraryBinarySpec.class, binaries, resolver, fileCollectionFactory, namingScheme.withBinaryType("StaticLibrary").withRole("static", false), platform, buildType, flavor);
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. platforms/software/platform-base/src/main/java/org/gradle/platform/base/internal/BinaryNamingScheme.java

        /**
         * Creates a copy of this scheme, replacing the role. The 'role' refers to the role that the binary plays within its component.
         */
        BinaryNamingScheme withRole(String role, boolean isMain);
    
        /**
         * Creates a copy of this scheme, replacing the binary type.
         */
        BinaryNamingScheme withBinaryType(String type);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/internal/NativeTestSuites.java

            return testedBinary.getNamingScheme()
                .withComponentName(testSuite.getBaseName())
                .withBinaryType(typeString)
                .withRole("executable", true);
        }
    
        public static <S extends NativeTestSuiteSpec> void createConventionalTestSuites(TestSuiteContainer testSuites, ModelMap<NativeComponentSpec> components, Class<S> testSuiteSpecClass) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. platforms/software/platform-base/src/main/java/org/gradle/platform/base/internal/DefaultBinaryNamingScheme.java

            if (allValuesForAxis.size() == 1) {
                return this;
            }
            return withVariantDimension(value.getName());
        }
    
        @Override
        public BinaryNamingScheme withRole(String role, boolean isMain) {
            return new DefaultBinaryNamingScheme(parentName, binaryName, binaryType, role, isMain, dimensions);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PrecompiledScriptPluginAccessorsIntegrationTest.kt

                        """
                    )
    
                    withFile(
                        "src/main/kotlin/consumer-plugin.gradle.kts",
                        """
                        plugins { `producer-plugin` }
                        """
                    )
                }
    
                "producer" {
                    withFile(
                        "build.gradle",
                        """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 07:16:19 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/support/WalkReproduciblyTest.kt

            withFolders {
                "root" {
                    withFile("root-f2")
                    "b" {
                        withFile("b-f1")
                    }
                    "c" {
                        "c1" {
                            "c11" {
                                withFile("c11-f1")
                            }
                        }
                    }
                    "a" {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/DependencyManagementIntegrationTest.kt

            withFile("repo/in-block/accessor-1.0.jar")
            withFile("repo/in-block/accessor-with-action-1.0.jar")
            withFile("repo/in-block/string-invoke-1.0.jar")
            withFile("repo/in-block/string-invoke-with-action-1.0.jar")
            withFile("repo/direct/accessor-1.0.jar")
            withFile("repo/direct/accessor-with-action-1.0.jar")
            withFile("repo/direct-block/string-invoke-1.0.jar")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 04 06:41:25 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinInitScriptIntegrationTest.kt

        @Test
        fun `initscript file path is resolved relative to parent script dir`() {
    
            val initScript =
                withFile(
                    "gradle/init.gradle.kts",
                    """
                    apply(from = "./answer.gradle.kts")
                    """
                )
    
            withFile(
                "gradle/answer.gradle.kts",
                """
                rootProject {
                    val answer by extra { "42" }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:43 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/resolver/ProjectRootOfTest.kt

                "root" {
                    "nested-project-root" {
                        // a nested project is detected by the presence of a settings file
                        withFile(settingsFileName)
                        "sub-project" {
                            withFile("build.gradle.kts")
                        }
                    }
                }
            }
    
            assertThat(
                projectRootOf(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/tasks/util/internal/PatternSetAntBuilderDelegate.java

        private static Object or(Object node, Action<Object> withNode) {
            return logical(node, "or", withNode);
        }
    
        private static Object not(Object node, Action<Object> withNode) {
            return logical(node, "not", withNode);
        }
    
        private static Object addFilenames(Object node, Iterable<String> filenames, boolean caseSensitive) {
            GroovyObject groovyObject = (GroovyObject) node;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:48 UTC 2021
    - 3.7K bytes
    - Viewed (0)
Back to top