Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for allowDependencies (0.25 sec)

  1. platforms/documentation/docs/src/snippets/java-platform/quickstart/kotlin/build.gradle.kts

            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)
  2. platforms/jvm/java-platform/src/main/java/org/gradle/api/internal/java/DefaultJavaPlatformExtension.java

    public class DefaultJavaPlatformExtension implements JavaPlatformExtension {
        private boolean allowDependencies;
    
        @Override
        public void allowDependencies() {
            allowDependencies = true;
        }
    
        public boolean isAllowDependencies() {
            return allowDependencies;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 21 12:15:51 UTC 2023
    - 1004 bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/documentation/docs/src/snippets/java-platform/quickstart/groovy/build.gradle

            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)
  7. subprojects/core-platform/build.gradle.kts

    plugins {
        id("gradlebuild.platform")
    }
    
    description = "Defines which JARs go into the core part (libs/*.jar) of a Gradle distribution (NOT libs/plugins/*.jar)."
    
    javaPlatform.allowDependencies()
    
    dependencies {
        runtime(project(":installation-beacon"))
        runtime(project(":api-metadata"))
        runtime(project(":daemon-server")) {
            because("This is the Gradle daemon implementation, which transitively depends on all other core projects.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/samples/build-organization/structuring-software-projects/groovy/platforms/product-platform/build.gradle

    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)
  9. platforms/jvm/java-platform/src/main/java/org/gradle/api/plugins/JavaPlatformExtension.java

     *
     * @since 5.2
     */
    public interface JavaPlatformExtension {
        /**
         * Allow dependencies to be declared. By default, a platform
         * will not allow dependencies, only constraints.
         */
        void allowDependencies();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 21 12:13:51 UTC 2023
    - 937 bytes
    - Viewed (0)
  10. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishJavaPlatformIntegTest.groovy

                dependencies {
                    constraints {
                        api "org.test:foo:+"
                    }
                    api "org.test:foo"
                }
    
                javaPlatform { allowDependencies() }
    
                publishing {
                    publications {
                        maven(MavenPublication) {
                            from components.javaPlatform
                            versionMapping {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 8.6K bytes
    - Viewed (0)
Back to top