Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,404 for 1library (0.16 sec)

  1. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/internal/DefaultCppLibraryTest.groovy

        def project = TestUtil.createRootProject(tmpDir.testDirectory)
        DefaultCppLibrary library
    
        def setup() {
            library = project.objects.newInstance(DefaultCppLibrary, "main")
        }
    
        def "has display name"() {
            expect:
            library.displayName.displayName == "C++ library 'main'"
            library.toString() == "C++ library 'main'"
        }
    
        def "has implementation configuration"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/dependencies/JavaConfigurationSetupIntegrationTest.groovy

            'java-library' | 'compileOnly'                  | VALID
            'java-library' | 'runtimeOnly'                  | VALID
            'java-library' | 'implementation'               | VALID
            'java-library' | 'apiElements'                  | FORBIDDEN
            'java-library' | 'runtimeElements'              | FORBIDDEN
            'java-library' | 'compileClasspath'             | FORBIDDEN
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftStaticLibraryLinkageIntegrationTest.groovy

        }
    
        @Override
        protected String getComponentUnderTestDsl() {
            return "library"
        }
    
        def "can create static only library"() {
            def library = new SwiftLib()
            buildFile << """
                apply plugin: 'swift-library'
    
                library {
                    linkage = [Linkage.STATIC]
                }
            """
            settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/samples/groovy/library-publishing/README.adoc

            └── sample
                └── my-library
                    ├── 1.0.2
                    │   ├── my-library-1.0.2.jar
                    │   ├── my-library-1.0.2.jar.md5
                    │   ├── my-library-1.0.2.jar.sha1
                    │   ├── my-library-1.0.2.jar.sha256
                    │   ├── my-library-1.0.2.jar.sha512
                    │   ├── my-library-1.0.2.module
                    │   ├── my-library-1.0.2.module.md5
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/integTest/resources/org/gradle/plugins/ide/idea/IdeaIntegrationTest/overwritesExistingDependencies/expectedFiles/root.iml.xml

            </SOURCES>
          </library>
        </orderEntry>
        <orderEntry type="module-library" scope="TEST">
          <library>
            <CLASSES>
              <root url="jar://@CACHE_DIR@/commons-collections/commons-collections/3.2.2/@SHA1@/commons-collections-3.2.2.jar!/"/>
            </CLASSES>
            <JAVADOC/>
            <SOURCES>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/DefaultDependencySpecContainerTest.groovy

        def "can build project dependency spec with project or library or both"() {
            when:
            container.project(proj).library(lib)
    
            then:
            container.dependencies*.displayName == [displayName]
    
            where:
            proj | lib  | displayName
            "p1" | "l1" | "project 'p1' library 'l1'"
            "p1" | null | "project 'p1'"
            null | "l1" | "library 'l1'"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/samples/java/library-publishing/README.adoc

            └── sample
                └── my-library
                    ├── 1.0.2
                    │   ├── my-library-1.0.2.jar
                    │   ├── my-library-1.0.2.jar.md5
                    │   ├── my-library-1.0.2.jar.sha1
                    │   ├── my-library-1.0.2.jar.sha256
                    │   ├── my-library-1.0.2.jar.sha512
                    │   ├── my-library-1.0.2.module
                    │   ├── my-library-1.0.2.module.md5
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/LibraryTest.groovy

            Library library = createLibrary()
            Library same = createLibrary()
            Library differentPath = createLibrary()
            differentPath.path = '/other'
    
            expect:
            library Matchers.strictlyEqual(same)
            library != differentPath
        }
    
        private Library createLibrary() {
            Library library = new Library(fileReferenceFactory.fromPath('/ant.jar'))
            library.exported = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftLibraryDependenciesIntegrationTest.groovy

                    apply plugin: 'swift-library'
                    library {
                        binaries.getByName('mainDebug').configure {
                            dependencies {
                                implementation project(':lib2')
                            }
                        }
                    }
                }
                project(':lib2') {
                    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)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/VersionCatalogExtensionIntegrationTest.groovy

            outputDoesNotContain 'Type-safe dependency accessors is an incubating feature.'
    
            where:
            notation << [
                'library("foo", "org.gradle.test:lib:1.0")',
                'library("foo", "org.gradle.test", "lib").version { require "1.0" }',
                'library("foo", "org.gradle.test", "lib").version("1.0")'
            ]
        }
    
        def "dependencies declared in settings will fail if left uninitialized"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 13:37:31 UTC 2024
    - 77.8K bytes
    - Viewed (0)
Back to top