Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for rootProject (0.1 sec)

  1. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    You can also access extra properties on a root project from a subproject using the following syntax:
    
    .my-sub-project/build.gradle.kts
    [source,kotlin]
    ----
    val myNewProperty: String by rootProject.extra  // <1>
    ----
    <1> Binds the root project's `myNewProperty` extra property to a reference of the same name
    
    Extra properties aren't just limited to projects.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/Project.java

     * <li>The <code>Project</code> object itself. This scope includes any property getters and setters declared by the
     * <code>Project</code> implementation class.  For example, {@link #getRootProject()} is accessible as the
     * <code>rootProject</code> property.  The properties of this scope are readable or writable depending on the presence
     * of the corresponding getter or setter method.</li>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:56:22 UTC 2024
    - 74.3K bytes
    - Viewed (0)
Back to top