Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 615 for 1library (0.18 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/KotlinDslVersionCatalogExtensionIntegrationTest.groovy

                        create("libs") {
                            library("my-lib", "org.gradle.test:lib:1.1")
                            library("my-lib2", "org.gradle.test:lib2:1.1")
                        }
                    }
                }
            """
            withCheckDeps()
            buildKotlinFile << """
                plugins {
                    `java-library`
                }
    
                val custom by configurations.creating {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 17K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationIntegrationTest.groovy

                    apply plugin: 'cpp-library'
                    library.linkage = [Linkage.STATIC]
                    dependencies {
                        api project(':card')
                        implementation project(':shuffle')
                    }
                }
                project(':card') {
                    apply plugin: 'cpp-library'
                    library.linkage = [Linkage.STATIC]
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 19:11:01 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  3. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelMultiProjectIntegrationTest.groovy

                        main(NativeExecutableSpec) {
                            sources {
                                cpp.lib project: ':library', library: 'hello', linkage: 'api'
                            }
                        }
                    }
                }
            """
    
            file("library/build.gradle") << """
                apply plugin: 'cpp'
                model {
                    repositories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 26K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/LibrariesSourceGeneratorTest.groovy

                getterName('getGroovyJson')
            }
    
            when:
            generate {
                library('groovy.json', 'g:a:v')
                library('groovyJson', 'g:a:v')
    
                library('tada_one', 'g:a:v')
                library('tada.one', 'g:a:v')
                library('tadaOne', 'g:a:v')
            }
    
            then:
            ex = thrown()
            verify(ex.message, """Cannot generate dependency accessors:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:24 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  5. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelSingleProjectIntegrationTest.groovy

        def "create visual studio solution for build with an executable and library"() {
            when:
            app.executable.writeSources(file("src/main"))
            app.library.writeSources(file("src/hello"))
            buildFile << """
    model {
        components {
            hello(NativeLibrarySpec)
            main(NativeExecutableSpec) {
                sources {
                    cpp.lib library: 'hello', linkage: 'static'
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 35.7K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/JavaProjectOutgoingVariantsIntegrationTest.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
    - 16.7K bytes
    - Viewed (0)
  7. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSingleProjectIntegrationTest.groovy

        @ToBeFixedForConfigurationCache
        def "create visual studio solution for single shared library"() {
            when:
            app.library.writeSources(file("src/main"))
            settingsFile << """
                rootProject.name = 'lib'
            """
            buildFile << """
                apply plugin: 'cpp-library'
    
                library {
                    binaries.configureEach { binary ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/core-plugins/build_init_plugin.adoc

    |<<#sec:groovy_library,groovy-library>>|A Groovy library
    |<<#sec:scala_application,scala-application>>|A Scala application
    |<<#sec:scala_library,scala-library>>|A Scala library
    |<<#sec:cpp_application,cpp-application>>|A command-line application implemented in C++
    |<<#sec:cpp_library,cpp-library>>|A C++ library
    |=================
    
    [[sec:build_init_tasks]]
    == Tasks
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:43 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioMultiProjectIntegrationTest.groovy

                    }
                }
                project(":lib") {
                    apply plugin: "cpp-library"
    
                    dependencies {
                        implementation project(':greet')
                    }
                }
                project(":greet") {
                    apply plugin: "cpp-library"
    
                    library {
                        linkage = [Linkage.STATIC]
                    }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  10. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/JavaLibraryInitIntegrationTest.groovy

        public static final String SAMPLE_LIBRARY_CLASS = "org/example/Library.java"
        public static final String SAMPLE_LIBRARY_TEST_CLASS = "org/example/LibraryTest.java"
        public static final String SAMPLE_SPOCK_LIBRARY_TEST_CLASS = "org/example/LibraryTest.groovy"
    
        def "defaults to Kotlin build scripts"() {
            when:
            run ('init', '--type', 'java-library' )
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 11.8K bytes
    - Viewed (1)
Back to top