Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 2,150 for 1library (0.14 sec)

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

                    apply plugin: 'cpp-library'
                    dependencies {
                        api project(':lib2')
                        implementation project(':lib3')
                    }
                }
                project(':lib2') {
                    apply plugin: 'cpp-library'
                }
                project(':lib3') {
                    apply plugin: 'cpp-library'
                }
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.8K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppStaticLibraryLinkageIntegrationTest.groovy

        def "can create static library binary when only static linkage is specified"() {
            def library = new CppLib()
            buildFile << """
                apply plugin: 'cpp-library'
    
                library {
                    linkage = [Linkage.STATIC]
                }
            """
            settingsFile << """
                rootProject.name = 'foo'
            """
            library.writeToProject(testDirectory)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/LibraryDependenciesIntegrationTest.groovy

            "does not exist"                       | "library: 'unknown'"                    | "Could not locate library 'unknown' required by 'main' in project ':exe'."
            "project that does not exist"          | "project: ':unknown', library: 'hello'" | "Project with path ':unknown' not found."
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/dependencyManagement/catalogs-settings/kotlin/settings.gradle.kts

        dependencyResolutionManagement {
            versionCatalogs {
                create("libs") {
                    library("groovy-core", "org.codehaus.groovy:groovy:3.0.5")
                    library("groovy-json", "org.codehaus.groovy:groovy-json:3.0.5")
                    library("groovy-nio", "org.codehaus.groovy:groovy-nio:3.0.5")
                    library("commons-lang3", "org.apache.commons", "commons-lang3").version {
                        strictly("[3.8, 4.0[")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/main/java/org/gradle/language/cpp/plugins/CppLibraryPlugin.java

            // Add the library and extension
            final DefaultCppLibrary library = componentFactory.newInstance(CppLibrary.class, DefaultCppLibrary.class, "main");
            project.getExtensions().add(CppLibrary.class, "library", library);
            project.getComponents().add(library);
    
            // Configure the component
            library.getBaseName().convention(project.getName());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 30 15:38:28 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/main/java/org/gradle/language/plugins/NativeBasePlugin.java

                    task.getTargetPlatform().set(library.getNativePlatform());
                    task.getToolChain().set(library.getToolChain());
                });
    
                // Wire the task into the library model
                library.getLinkFile().set(createTask.flatMap(task -> task.getBinaryFile()));
                library.getLinkFileProducer().set(createTask);
                library.getCreateTask().set(createTask);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 26.1K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/NativeLibrarySpec.java

         * Converts this library to a native library requirement that uses the static library variant.
         */
        NativeLibraryRequirement getStatic();
    
        /**
         * Converts this library to a native library requirement that uses the api library linkage.
         */
        NativeLibraryRequirement getApi();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/swiftpm/SwiftPackageManagerSwiftBuildExportIntegrationTest.groovy

        @ToBeFixedForConfigurationCache(because = "Task.getProject() during execution")
        def "produces manifest for Swift library with shared and static linkage"() {
            given:
            buildFile << """
                plugins {
                    id 'swiftpm-export'
                    id 'swift-library'
                }
                library {
                    linkage = [Linkage.SHARED, Linkage.STATIC]
                }
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftLibraryIntegrationTest.groovy

        }
    
        def "fails when no linkage is specified"() {
            def library = new SwiftLib()
            buildFile << """
                apply plugin: 'swift-library'
    
                library {
                    linkage = []
                }
            """
            settingsFile << """
                rootProject.name = 'foo'
            """
            library.writeToProject(testDirectory)
    
            when:
            fails('assemble')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 15:17:55 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. platforms/jvm/plugins-groovy/src/integTest/groovy/org/gradle/groovy/GroovyJavaLibraryInteractionIntegrationTest.groovy

            'java-library' | 'api'            | true              | false                     | "classes"
            'java-library' | 'api'            | false             | false                     | "jar"
            'java-library' | 'implementation' | true              | false                     | "classes"
            'java-library' | 'implementation' | false             | false                     | "jar"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top