Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for VariantContext (0.19 sec)

  1. platforms/native/language-native/src/testFixtures/groovy/org/gradle/language/VariantContext.groovy

        }
    
        static VariantContext of(Map<String, String> dimensions = [:]) {
            return new VariantContext(dimensions.collectEntries([:]) { key, value ->
                [(key): VariantDimension.of(key, value)]
            })
        }
    
        static List<VariantContext> from(Object[] listOfDimensionArrays) {
            def result = new ArrayList<VariantContext>()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioCppApplicationProjectIntegrationTest.groovy

        }
    
        @Override
        CppSourceElement getComponentUnderTest() {
            return new CppApp()
        }
    
        @Override
        String getBuildFile(VariantContext variantContext) {
            return executableName("build/install/main/${variantContext.asPath}lib/${rootProjectName}")
        }
    
        @Override
        String getIdeBuildTaskName(String variant) {
            return "install${variant.capitalize()}"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioCppStaticLibraryLinkageProjectIntegrationTest.groovy

    package org.gradle.ide.visualstudio
    
    import org.gradle.language.VariantContext
    import org.gradle.nativeplatform.fixtures.app.CppLib
    import org.gradle.nativeplatform.fixtures.app.CppSourceElement
    
    class VisualStudioCppStaticLibraryLinkageProjectIntegrationTest extends AbstractVisualStudioProjectIntegrationTest {
        @Override
        String getBuildFile(VariantContext variantContext) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioCppSharedLibraryLinkageProjectIntegrationTest.groovy

        }
    
        @Override
        CppSourceElement getComponentUnderTest() {
            return new CppLib()
        }
    
        @Override
        String getBuildFile(VariantContext variantContext) {
            return sharedLibraryName("build/lib/main/${variantContext.asPath}${stripped(variantContext.asVariantName)}${rootProjectName}")
        }
    
        @Override
        String getIdeBuildTaskName(String variant) {
            return "link${variant.capitalize()}"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/AbstractCppPublishingIntegrationTest.groovy

                    }
                }
            }
        }
    
        void assertVariantIsPublished(String group, String module, String version, VariantContext variantContext, List<String> dependencies = []) {
            String variantModuleName = "${module}${variantContext.asPublishName}"
            String variantModuleNameWithVersion = "${variantModuleName}-${version}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  6. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/AbstractVisualStudioProjectIntegrationTest.groovy

    import org.gradle.language.VariantContext
    import org.gradle.nativeplatform.OperatingSystemFamily
    import org.gradle.nativeplatform.fixtures.app.CppSourceElement
    import org.gradle.nativeplatform.platform.internal.DefaultNativePlatform
    import org.gradle.test.precondition.Requires
    import org.gradle.test.preconditions.IntegTestPreconditions
    
    import static org.gradle.language.VariantContext.dimensions
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppStaticLibraryPublishingIntegrationTest.groovy

        }
    
        @Override
        TestFile getVariantSourceFile(String module, VariantContext variantContext) {
            return staticLibrary("${module}/build/lib/main/${variantContext.asPath}${module}").file
        }
    
        @Override
        Map<String, String> getVariantFileInformation(String linkage, String module, String variantModuleNameWithVersion) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationPublishingIntegrationTest.groovy

        }
    
        @Override
        TestFile getVariantSourceFile(String module, VariantContext variantContext) {
            def executable = executable("build/exe/main/${variantContext.asPath}${module}")
            return variantContext.buildType.name == 'release' ? executable.strippedRuntimeFile : executable.file
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryPublishingIntegrationTest.groovy

        }
    
        @Override
        TestFile getVariantSourceFile(String module, VariantContext variantContext) {
            def library = sharedLibrary("${module}/build/lib/main/${variantContext.asPath}${module}")
            return variantContext.buildType.name == 'release' ? library.strippedRuntimeFile : library.file
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 12:57:50 UTC 2024
    - 39.8K bytes
    - Viewed (0)
Back to top