Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 131 for buildTypes (0.29 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppCachingIntegrationTest.groovy

        def 'compilation can be cached (#buildType)'() {
            setupProject()
    
            when:
            withBuildCache().run tasks.withBuildType(buildType).compile
    
            then:
            compileIsNotCached(buildType)
    
            when:
            withBuildCache().run 'clean', tasks.withBuildType(buildType).install
    
            then:
            compileIsCached(buildType)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppDependenciesIntegrationTest.groovy

        private void assertTasksExecutedFor(String buildType) {
            def tasks = [":hello:compile${buildType}Cpp", ":hello:link${buildType}", ":log:compile${buildType}Cpp", ":log:link${buildType}", ":app:compile${buildType}Cpp", ":app:link${buildType}", ":app:install${buildType}"]
            if (buildType == "Release" && !toolChain.visualCpp) {
                tasks << [ ":log:stripSymbols${buildType}", ":hello:stripSymbols${buildType}", ":app:stripSymbols${buildType}"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/resolve/DefaultLibraryResolver.java

                return this;
            }
    
            public LibraryResolution withBuildType(BuildType buildType) {
                this.buildType = buildType;
                return this;
            }
    
            public NativeDependencySet resolve(DomainObjectSet<NativeLibraryBinary> allBinaries) {
                NativeLibraryBinary resolve = resolveLibrary(allBinaries);
                return new DefaultNativeDependencySet(resolve);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ArtifactSelectionIntegrationTest.groovy

    def usage = Attribute.of('usage', String)
    def buildType = Attribute.of('buildType', String)
    def flavor = Attribute.of('flavor', String)
    
    allprojects {
        repositories {
            ivy { url '${ivyHttpRepo.uri}' }
        }
        dependencies {
            attributesSchema {
               attribute(usage)
               attribute(buildType)
               attribute(flavor)
            }
        }
        configurations {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  5. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/impl/legacy/LegacyGradleEnterprisePluginCheckInService.java

                }
            }
        }
    
        private static class Attributes implements BuildScanConfig.Attributes {
            private final BuildType buildType;
    
            public Attributes(BuildType buildType) {
                this.buildType = buildType;
            }
    
            @Override
            public boolean isRootProjectHasVcsMappings() {
                return false;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 08:50:27 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/AbstractConfigurationAttributesResolveIntegrationTest.groovy

            failure.assertHasCause("""No matching variant of project :b was found. The consumer was configured to find attribute 'buildType' with value 'debug', attribute 'flavor' with value 'free' but:
      - Variant 'bar':
          - Incompatible because this component declares attribute 'buildType' with value 'release' and the consumer needed attribute 'buildType' with value 'debug'
          - Other compatible attribute:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 17:30:11 UTC 2024
    - 64K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/common/extensions.kt

            }
            skipConditionally(buildType)
        }
    }
    
    fun BuildStep.onlyRunOnGitHubMergeQueueBranch() {
        conditions {
            matches("teamcity.build.branch", "(pre-test/.*)|(gh-readonly-queue/.*)")
        }
    }
    
    fun BuildStep.skipConditionally(buildType: BuildType? = null) {
        // we need to run CompileALl unconditionally because of artifact dependency
        if (buildType !is CompileAll) {
            conditions {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/configurations/BaseGradleBuildType.kt

    package configurations
    
    import jetbrains.buildServer.configs.kotlin.BuildType
    import model.Stage
    
    open class BaseGradleBuildType(
        val stage: Stage? = null,
        val failStage: Boolean = true,
        init: BaseGradleBuildType.() -> Unit = {}
    ) : BuildType() {
        init {
            this.init()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 298 bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/configure/NativeBinaries.java

            BinaryNamingScheme namingScheme,
            NativePlatform platform,
            BuildType buildType,
            Flavor flavor
        ) {
            if (component instanceof NativeLibrarySpec) {
                createNativeBinary(SharedLibraryBinarySpec.class, binaries, resolver, fileCollectionFactory, namingScheme.withBinaryType("SharedLibrary").withRole("shared", false), platform, buildType, flavor);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/prebuilt/AbstractPrebuiltLibraryBinary.java

        private final String name;
        private final PrebuiltLibrary library;
        private final BuildType buildType;
        private final NativePlatform targetPlatform;
        private final Flavor flavor;
        protected final FileCollectionFactory fileCollectionFactory;
    
        public AbstractPrebuiltLibraryBinary(String name, PrebuiltLibrary library, BuildType buildType, NativePlatform targetPlatform, Flavor flavor, FileCollectionFactory fileCollectionFactory) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top