Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for makeComponentWithLibrary (0.32 sec)

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

            'CppLibraryDependenciesIntegrationTest',
        ])
        def "can define implementation dependencies on component"() {
            given:
            createDirs("lib")
            settingsFile << 'include "lib"'
            makeComponentWithLibrary()
            buildFile << """
                ${componentUnderTestDsl} { c ->
                    c.dependencies {
                        implementation project(':lib')
                    }
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeLibraryDependenciesIntegrationTest.groovy

        def "can define api dependencies on component"() {
            given:
            createDirs("lib")
            settingsFile << 'include "lib"'
            makeComponentWithLibrary()
            buildFile << """
                ${componentUnderTestDsl} { c ->
                    c.dependencies {
                        api project(':lib')
                    }
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestDependenciesIntegrationTest.groovy

    import org.gradle.language.AbstractNativeDependenciesIntegrationTest
    
    class CppUnitTestDependenciesIntegrationTest extends AbstractNativeDependenciesIntegrationTest {
        @Override
        protected void makeComponentWithLibrary() {
            buildFile << """
                apply plugin: 'cpp-unit-test'
                project(':lib') {
                    apply plugin: 'cpp-library'
                }
    """
            file("src/test/cpp/main.cpp") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryDependenciesIntegrationTest.groovy

    class CppLibraryDependenciesIntegrationTest extends AbstractNativeLibraryDependenciesIntegrationTest implements CppTaskNames {
        @Override
        protected void makeComponentWithLibrary() {
            buildFile << """
                apply plugin: 'cpp-library'
                project(':lib') {
                    apply plugin: 'cpp-library'
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/XCTestDependenciesIntegrationTest.groovy

    @RequiresInstalledToolChain(ToolChainRequirement.SWIFTC)
    class XCTestDependenciesIntegrationTest extends AbstractNativeDependenciesIntegrationTest implements SwiftTaskNames {
        @Override
        protected void makeComponentWithLibrary() {
            buildFile << """
                apply plugin: 'xctest'
                project(':lib') {
                    apply plugin: 'swift-library'
                }
    """
            file("src/test/swift/Test.swift") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationDependenciesIntegrationTest.groovy

    class CppApplicationDependenciesIntegrationTest extends AbstractNativeProductionComponentDependenciesIntegrationTest implements CppTaskNames {
        @Override
        protected void makeComponentWithLibrary() {
            buildFile << """
                apply plugin: 'cpp-application'
                project(':lib') {
                    apply plugin: 'cpp-library'
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/testFixtures/groovy/org/gradle/language/AbstractNativeProductionComponentDependenciesIntegrationTest.groovy

        def "can define different implementation dependencies on each binary"() {
            given:
            createDirs("lib")
            settingsFile << 'include "lib"'
            makeComponentWithLibrary()
            buildFile << """
                ${componentUnderTestDsl} {
                    binaries.getByName('mainDebug').configure {
                        dependencies {
                            implementation project(':lib')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationDependenciesIntegrationTest.groovy

    @RequiresInstalledToolChain(ToolChainRequirement.SWIFTC)
    class SwiftApplicationDependenciesIntegrationTest extends AbstractNativeProductionComponentDependenciesIntegrationTest {
        @Override
        protected void makeComponentWithLibrary() {
            buildFile << """
                apply plugin: 'swift-application'
                project(':lib') {
                    apply plugin: 'swift-library'
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftLibraryDependenciesIntegrationTest.groovy

            result.assertTasksExecuted([":lib1:compileDebugSwift", ":lib1:linkDebug", ":lib2:compileDebugSwift", ":lib2:linkDebug"], assembleDevBinaryTasks, assembleDevBinaryTask)
        }
    
        @Override
        protected void makeComponentWithLibrary() {
            buildFile << """
                apply plugin: 'swift-library'
                project(':lib') {
                    apply plugin: 'swift-library'
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top