Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for allowDependencies (0.14 sec)

  1. 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)
  2. platforms/jvm/java-platform/src/test/java/org/gradle/api/plugins/JavaPlatformPluginTest.groovy

        def "adding a dependency is allowed when activated on the project extension"() {
            given:
            project.pluginManager.apply(JavaPlatformPlugin)
            project.extensions.javaPlatform.allowDependencies()
            project.dependencies.add(JavaPlatformPlugin.API_CONFIGURATION_NAME, "org:api1:1.0")
    
            when:
            project.evaluate()
    
            then:
            noExceptionThrown()
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top