Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 615 for 1library (0.15 sec)

  1. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/plugins/CppLibraryPluginTest.groovy

            project.pluginManager.apply(CppLibraryPlugin)
    
            then:
            project.library instanceof CppLibrary
            project.library.baseName.get() == "testLib"
            project.library.cppSource.files == [src] as Set
            project.library.publicHeaderDirs.files == [publicHeaders] as Set
        }
    
        def "registers a component for the library with default linkage"() {
            when:
            project.pluginManager.apply(CppLibraryPlugin)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/jvm/java_library_plugin.adoc

    | yes
    | no
    | This configuration is meant to be used by consumers, to retrieve all the elements necessary to run against this library.
    |===
    
    .Java Library plugin - configurations used by the library itself
    [%header%autowidth,compact]
    |===
    | Configuration name | Role | Consumable? | Resolvable? | Description
    
    | compileClasspath
    | For compiling this library
    | no
    | yes
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/test/groovy/org/gradle/swiftpm/plugins/SwiftPackageManagerExportPluginTest.groovy

            lib1Project.pluginManager.apply("swift-library")
            lib2Project.pluginManager.apply("swift-library")
            lib3Project.pluginManager.apply("swift-library")
    
            project.application.sourceCompatibility = SwiftVersion.SWIFT3
            lib1Project.library.sourceCompatibility = SwiftVersion.SWIFT4
            lib2Project.library.sourceCompatibility = SwiftVersion.SWIFT3
    
            project.evaluate()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  4. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/DependencyInsightReportVariantDetailsIntegrationTest.groovy

            file('a/build.gradle') << '''
                apply plugin: 'java-library'
    
                dependencies {
                    api project(':b')
                    implementation project(':c')
                }
            '''
            ['b', 'c'].each {
                file("${it}/build.gradle") << """
                    apply plugin: 'java-library'
                """
            }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/test/groovy/org/gradle/language/swift/plugins/SwiftLibraryPluginTest.groovy

            project.pluginManager.apply(SwiftLibraryPlugin)
            project.evaluate()
    
            then:
            project.library instanceof SwiftLibrary
            project.library.module.get() == "TestLib"
            project.library.swiftSource.files == [src] as Set
        }
    
        def "registers a component for the library with default linkage"() {
            when:
            project.pluginManager.apply(SwiftLibraryPlugin)
            project.evaluate()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/DefaultVersionCatalogBuilderTest.groovy

                bundle('toto')
            })
        }
    
        def "normalizes alias separators to dot"() {
            builder.library("guava", "com.google.guava:guava:17.0")
            builder.library("groovy", "org.codehaus.groovy", "groovy").version {
                it.strictly("3.0.5")
            }
            builder.library("groovy-json", "org.codehaus.groovy", "groovy-json").version {
                it.prefer("3.0.5")
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Dec 17 22:25:43 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationIntegrationTest.groovy

                    apply plugin: 'swift-library'
                    library.linkage = [Linkage.STATIC]
                    dependencies {
                        api project(':log')
                    }
                }
                project(':log') {
                    apply plugin: 'swift-library'
                    library.linkage = [Linkage.STATIC]
                }
    """
            app.library.writeToProject(file("hello"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 12:43:37 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  8. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeMultipleSwiftProjectIntegrationTest.groovy

                    apply plugin: 'swift-library'
                    dependencies {
                        api project(':cppGreeter')
                    }
                    library.binaries.configureEach {
                        linkTask.get().linkerArgs.add("-lc++")
                    }
                }
                project(':cppGreeter') {
                    apply plugin: 'cpp-library'
                    library.linkage = [Linkage.STATIC]
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/java/JavaApplicationOutgoingVariantsIntegrationTest.groovy

                java.jar (project :java) {artifactType=jar, org.gradle.category=library, org.gradle.dependency.bundling=external, ${defaultTargetPlatform()}, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}
                file-dep.jar {artifactType=jar}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryOutgoingVariantsIntegrationTest.groovy

    def artifactType = Attribute.of('artifactType', String)
    
    allprojects {
        repositories { maven { url '${mavenRepo.uri}' } }
    }
    
    project(':other-java') {
        apply plugin: 'java-library'
    }
    
    project(':java') {
        apply plugin: 'java-library'
        dependencies {
            api 'test:api:1.0'
            implementation project(':other-java')
            implementation files('file-dep.jar')
            compileOnly 'test:compile-only:1.0'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top