Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 135 for 1library (0.17 sec)

  1. 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)
  2. staging/src/k8s.io/apiserver/pkg/cel/environment/environment_test.go

    					RemovedVersion:    version.MajorMinor(1, 28),
    					EnvOptions: []cel.EnvOption{
    						library.Test(library.TestVersion(0)),
    					},
    				},
    				{
    					IntroducedVersion: version.MajorMinor(1, 28),
    					EnvOptions: []cel.EnvOption{
    						library.Test(library.TestVersion(1)),
    					},
    				},
    			},
    		},
    		{
    			name: "library version 0 disabled, version 1 enabled",
    			typeVersionCombinations: []envTypeAndVersion{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/BuildInitPluginIntegrationTest.groovy

            fails('init', '--type', 'some-unknown-library')
    
            then:
            failure.assertHasCause("""The requested build type 'some-unknown-library' is not supported. Supported types:
      - 'basic'
      - 'cpp-application'
      - 'cpp-library'
      - 'groovy-application'
      - 'groovy-gradle-plugin'
      - 'groovy-library'
      - 'java-application'
      - 'java-gradle-plugin'
      - 'java-library'
      - 'kotlin-application'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 13:39:44 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyManagementResultsAsInputsIntegrationTest.groovy

            "changing project library variant metadata"            | "-DprojectLibAttrValue=new-value"
            "changing unselected project library variant metadata" | "-DprojectUnselectedLibAttrValue=new-value"
            "changing included library variant metadata"           | "-DcompositeLibAttrValue=new-value"
            "changing external library variant metadata"           | "-DexternalLibAttrValue=new-value"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/TomlDependenciesExtensionIntegrationTest.groovy

            buildFile """
                apply plugin: 'java-library'
    
                dependencies {
                    implementation project(":other")
                }
            """
    
            file("other/build.gradle") << """
                plugins {
                    id 'java-library'
                }
    
                dependencies {
                    implementation libs.lib
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 33K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/NativeServicesIntegrationTest.groovy

        def nativeDir = new File(executer.gradleUserHomeDir, 'native')
        def library
    
        def setup() {
            def jansiLibraryLocator = new JansiStorageLocator()
            def jansiStorage = jansiLibraryLocator.locate(nativeDir)
            library = jansiStorage.targetLibFile
        }
    
        def "native services libs are unpacked to gradle user home dir"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsAccessFromGroovyDslIntegrationTest.groovy

                include("a")
                include("b")
            """
            buildFile << """
                rootProject.plugins.apply('java-library')
                project(':').plugins.apply('java-library')
                project(':a').parent.plugins.apply('java-library')
            """
    
            when:
            isolatedProjectsRun("assemble")
    
            then:
            fixture.assertStateStored {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  8. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/ProjectReportTaskIntegrationTest.groovy

                    description = "Sample library project"
                }
                project(":util") {
                    description = "Utilities and common code"
                }
                project(":app") {
                    description = "Sample application project"
                }
            """
    
            file("lib/build.gradle.dcl") << """
                library {
                    name = "my-lib"
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:32 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. platforms/native/tooling-native/src/crossVersionTest/groovy/org/gradle/language/cpp/tooling/r410/CppModelCrossVersionSpec.groovy

            releaseBinary.linkageDetails.additionalArgs == ['--link=mainRelease']
        }
    
        def "can query model for customized C++ library"() {
            settingsFile << """
                rootProject.name = 'lib'
            """
            buildFile << """
                apply plugin: 'cpp-library'
                library {
                    baseName = 'some-lib'
                    linkage = [Linkage.STATIC, Linkage.SHARED]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/ClosedProjectSubstitutionCrossVersionSpec.groovy

            setup:
            multiProjectBuildInRootFolder("parent", ["child1", "child2"]) {
                buildFile << """
                subprojects {
                    apply plugin: 'java-library'
                }
                project(":child1") {
                    configurations {
                        testArtifacts
                    }
                    task testJar(type: Jar) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top