Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 615 for 1library (0.17 sec)

  1. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryCompilationIntegrationTest.groovy

            false                     | _
            true                      | _
        }
    
        def "uses the default configuration when producer is not a library"() {
            given:
            subproject('a') {
                'build.gradle'('''
                    apply plugin: 'java-library'
                    dependencies {
                        api project(':b')
                    }
                ''')
                src {
                    main {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 13:02:41 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftIncrementalBuildIntegrationTest.groovy

                    dependencies {
                        implementation project(':greeter')
                    }
                }
                project(':greeter') {
                    apply plugin: 'swift-library'
                }
    """
            app.library.writeToProject(file("greeter"))
            app.application.writeToProject(file("app"))
    
            when:
            succeeds "assemble"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  3. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeSingleSwiftProjectIntegrationTest.groovy

        }
    
        @ToBeFixedForConfigurationCache
        def "can create xcode project for Swift static library"() {
            requireSwiftToolChain()
    
            given:
            buildFile << """
                apply plugin: 'swift-library'
                library.linkage = [Linkage.STATIC]
            """
            def lib = new SwiftLib()
            lib.writeToProject(testDirectory)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 31.3K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/sourceset/GeneratedSourcesIntegrationTest.groovy

        @ToBeFixedForConfigurationCache
        def "can depend on header-only library composed of generated sources"() {
            given:
            // Write sources to src/main, headers to src/hello
            def app = new CHelloWorldApp()
            app.executable.writeSources(file("src/main"))
            app.library.sourceFiles*.writeToDir(file("src/main"))
            app.library.headerFiles*.writeToDir(file("src/input"))
            degenerateInputSources()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryFeatureCompilationIntegrationTest.groovy

        }
    
        def "Java Library can depend on feature of component [compileClasspathPackaging=#compileClasspathPackaging]"() {
            toggleCompileClasspathPackaging(compileClasspathPackaging)
            settingsFile << """
                include 'b', 'c', 'd', 'e', 'f', 'g'
            """
            given:
            file("b/build.gradle") << """
                apply plugin: 'java-library'
    
                group = 'org.gradle.test'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 13:02:41 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/native/building_swift_projects.adoc

     * Shared and static library files are published directly to Maven repositories along with a zip of the public headers.
     * For applications, Gradle also supports installing and running the executable with all of its shared library dependencies in a known location.
    
    [[sec:cleaning_swift_build]]
    == Cleaning the build
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  7. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishMultiProjectIntegTest.groovy

            }
        }
    
        def "publish and resolve java-library with dependency on java-platform (named #platformName)"() {
            given:
            javaLibrary(mavenRepo.module("org.test", "foo", "1.0")).withModuleMetadata().publish()
            javaLibrary(mavenRepo.module("org.test", "bar", "1.1")).withModuleMetadata().publish()
    
            createDirs(platformName, "library")
            settingsFile << """
    include "$platformName", "library"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  8. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/SamplesGenerator.kt

                    exampleClass = if (descriptor.componentType === ComponentType.LIBRARY) "Hello" else "Greeter"
                    sourceFile = (if (descriptor.componentType === ComponentType.LIBRARY) "hello" else "app") + ".cpp"
                    testSourceFile = (if (descriptor.componentType === ComponentType.LIBRARY) "hello" else "app") + "_test.cpp"
                    sourceFileTree = """        │   │   └── $sourceFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 17:51:21 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/jvm/internal/DefaultJvmPluginServicesTest.groovy

            when:
            services.configureAttributes(Stub(HasConfigurableAttributes) { getAttributes() >> attrs }) {
                it.library()
            }
    
            then:
            attrs.asMap() == [
                (CATEGORY_ATTRIBUTE): named(Category, LIBRARY)
            ]
    
            when:
            attrs = AttributeTestUtil.attributesFactory().mutable()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/platform/BinaryNativePlatformIntegrationTest.groovy

                sources {
                    cpp.lib library: 'hello'
                }
            }
        }
    }
    """
    
            and:
            fails "mainExecutable"
    
            then:
            failure.assertHasDescription("Could not determine the dependencies of task ':linkMainExecutable'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.7K bytes
    - Viewed (0)
Back to top