Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for javaPlatform (0.24 sec)

  1. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishJavaPlatformIntegTest.groovy

    """)
    
            when:
            run "publish"
    
            then:
            javaPlatform.assertPublished()
            javaPlatform.assertNoDependencies()
    
            and:
            resolveArtifacts(javaPlatform) { noFiles() }
            resolveApiArtifacts(javaPlatform) { noFiles() }
            resolveRuntimeArtifacts(javaPlatform) { noFiles() }
        }
    
        def "can publish java-platform with constraints"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  2. okhttp-bom/build.gradle.kts

          if (subproject.name != "okhttp-bom") {
            api(subproject)
          }
        }
      }
    }
    
    publishing {
      publications.create<MavenPublication>("maven") {
        from(project.components["javaPlatform"])
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Nov 27 12:31:27 UTC 2021
    - 373 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-dependencyAlignmentWithPlatform/groovy/platform/build.gradle

            api(project(":lib"))
            api(project(":utils"))
        }
    }
    // end::platform[]
    
    publishing {
        publications {
            maven(MavenPublication) {
                from components.javaPlatform
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 500 bytes
    - Viewed (0)
  4. platforms/jvm/java-platform/src/test/java/org/gradle/api/plugins/JavaPlatformPluginTest.groovy

            when:
            SoftwareComponentInternal javaPlatform = project.components.getByName("javaPlatform")
            SoftwareComponentVariant apiVariant = javaPlatform.usages[0]
            SoftwareComponentVariant runtimeVariant = javaPlatform.usages[1]
    
            then:
            runtimeVariant.dependencies.size() == 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/samples/build-organization/structuring-software-projects/kotlin/platforms/test-platform/build.gradle.kts

    plugins {
        id("java-platform")
    }
    
    group = "com.example.platform"
    
    // allow the definition of dependencies to other platforms like the JUnit 5 BOM
    javaPlatform.allowDependencies()
    
    dependencies {
        api(platform("org.junit:junit-bom:5.7.1"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 247 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/samples/build-organization/structuring-software-projects/groovy/platforms/test-platform/build.gradle

    plugins {
        id('java-platform')
    }
    
    group = 'com.example.platform'
    
    // allow the definition of dependencies to other platforms like the JUnit 5 BOM
    javaPlatform.allowDependencies()
    
    dependencies {
        api(platform('org.junit:junit-bom:5.7.1'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 247 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/samples/build-organization/structuring-software-projects/kotlin/platforms/product-platform/build.gradle.kts

    plugins {
        id("java-platform")
    }
    
    group = "com.example.platform"
    
    // allow the definition of dependencies to other platforms like the Spring Boot BOM
    javaPlatform.allowDependencies()
    
    dependencies {
        api(platform("org.springframework.boot:spring-boot-dependencies:2.7.8"))
    
        constraints {
            api("org.apache.juneau:juneau-marshall:8.2.0")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 361 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-dependencyAlignmentWithPlatform/kotlin/platform/build.gradle.kts

            api(project(":lib"))
            api(project(":utils"))
        }
    }
    // end::platform[]
    
    publishing {
        publications {
            create("maven", MavenPublication::class.java) {
                from(components["javaPlatform"])
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 524 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/java-platform/quickstart/groovy/build.gradle

        constraints {
            api 'commons-httpclient:commons-httpclient:3.1'
            runtime 'org.postgresql:postgresql:42.2.5'
        }
    }
    // end::constraints[]
    
    // tag::platform[]
    // tag::allow-dependencies[]
    javaPlatform {
        allowDependencies()
    }
    // end::allow-dependencies[]
    
    dependencies {
        api platform('com.fasterxml.jackson:jackson-bom:2.9.8')
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 554 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/java-platform/quickstart/kotlin/build.gradle.kts

        constraints {
            api("commons-httpclient:commons-httpclient:3.1")
            runtime("org.postgresql:postgresql:42.2.5")
        }
    }
    // end::constraints[]
    
    // tag::platform[]
    // tag::allow-dependencies[]
    javaPlatform {
        allowDependencies()
    }
    // end::allow-dependencies[]
    
    dependencies {
        api(platform("com.fasterxml.jackson:jackson-bom:2.9.8"))
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 554 bytes
    - Viewed (0)
Back to top