Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 2,150 for 1library (0.2 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftBothLibraryLinkageIntegrationTest.groovy

        }
    
        @Override
        protected String getComponentUnderTestDsl() {
            return "library"
        }
    
        def "creates shared library binary by default when both linkage specified"() {
            def library = new SwiftLib()
            makeSingleProject()
            settingsFile << """
                rootProject.name = 'foo'
            """
            library.writeToProject(testDirectory)
    
            when:
            succeeds('assemble')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-consistentResolution/tests/base-dependency-insight.out

        |--------------------------------|--------------|--------------|
        | org.gradle.status              | release      |              |
        | org.gradle.category            | library      | library      |
        | org.gradle.libraryelements     | jar          | jar          |
        | org.gradle.usage               | java-runtime | java-runtime |
        | org.gradle.dependency.bundling |              | external     |
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativeDependentComponentsReportIntegrationTest.groovy

                                        lib project: ':api', library: 'api'
                                        lib project: ':spi', library: 'spi'
                                        lib project: ':runtime', library: 'runtime'
                                        lib library: 'bootstrap'
                                        lib project: ':libraries', library: 'foo'
                                        lib project: ':libraries', library: 'bar'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 24K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/dep-man/06-publishing/publishing_setup.adoc

    .Configuring a Java library for publishing
    ====
    include::sample[dir="snippets/publishing/javaLibrary/kotlin",files="build.gradle.kts[tags=configure-publishing]"]
    include::sample[dir="snippets/publishing/javaLibrary/groovy",files="build.gradle[tags=configure-publishing]"]
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/sourceset/SourceSetDependenciesIntegrationTest.groovy

            app.executable.writeSources(file("src/main"))
            app.library.writeSources(file("src/library"))
    
            buildFile << """
    apply plugin: 'c'
    
    model {
        components {
            main(NativeExecutableSpec) {
                sources {
                    library(CSourceSet) {
                        source.srcDir "src/library/c"
                        exportedHeaders.srcDir "src/library/headers"
                    }
                    c.lib library
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/main/java/org/gradle/language/swift/plugins/SwiftLibraryPlugin.java

            final DefaultSwiftLibrary library = componentFactory.newInstance(SwiftLibrary.class, DefaultSwiftLibrary.class, "main");
            project.getExtensions().add(SwiftLibrary.class, "library", library);
            project.getComponents().add(library);
    
            // Setup component
            final Property<String> module = library.getModule();
            module.set(GUtil.toCamelCase(project.getName()));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/LibraryApiDependenciesIntegrationTest.groovy

            installation("build/install/main/release").exec().out == "Hello from the release library"
        }
    
        @ToBeFixedForConfigurationCache
        def "can choose alternative library implementation of api"() {
            given:
            def app = new CppHelloWorldApp()
            app.executable.writeSources(file("src/main"))
            app.library.writeSources(file("src/hello"))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/PlatformNativeComponentReportIntegrationTest.groovy

            tool chain: Tool chain 'clang' (Clang)
            shared library file: build/libs/someLib/shared/libsomeLib.dylib
        Static library 'someLib:staticLibrary'
            build using task: :someLibStaticLibrary
            build type: build type 'debug'
            flavor: flavor 'default'
            target platform: platform '$currentNative'
            tool chain: Tool chain 'clang' (Clang)
            static library file: build/libs/someLib/static/libsomeLib.a
    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/swiftpm/SwiftPackageManagerCppBuildExportIntegrationTest.groovy

        @ToBeFixedForConfigurationCache(because = "Task.getProject() during execution")
        def "produces manifest for C++ library with shared and static linkage"() {
            given:
            buildFile << """
                plugins {
                    id 'swiftpm-export'
                    id 'cpp-library'
                }
                library.linkage = [Linkage.SHARED, Linkage.STATIC]
    """
            def lib = new CppLib()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/native/cpp_library_plugin.adoc

    Note the default linkage of a {cpp} library is shared linkage as shown in the diagram.
    
    .{cpp} Library Plugin default task graph
    image::cpp-shared-library-task-graph.png[]
    
    With static linkage, the diagram changes to the following:
    
    .{cpp} Library Plugin static library only task graph
    image::cpp-static-library-task-graph.png[]
    
    [[sec:cpp_library_task_variants]]
    === Variant-dependent Tasks
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 18.2K bytes
    - Viewed (0)
Back to top