Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ExtraPropertiesExtension (0.36 sec)

  1. platforms/core-configuration/core-kotlin-extensions/src/main/kotlin/org/gradle/internal/extensions/core/ExtraPropertiesExtensionExtensions.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.extensions.core
    
    import org.gradle.api.plugins.ExtraPropertiesExtension
    
    
    fun ExtraPropertiesExtension.remove(key: String): Any? {
        val value = this[key]
        if (value != null) {
            this[key] = null
        }
        return value
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 16:55:36 UTC 2024
    - 877 bytes
    - Viewed (0)
  2. platforms/core-configuration/core-kotlin-extensions/src/main/kotlin/org/gradle/internal/extensions/core/ProjectExtensions.kt

     * limitations under the License.
     */
    
    package org.gradle.internal.extensions.core
    
    import org.gradle.api.Project
    import org.gradle.api.plugins.ExtraPropertiesExtension
    import org.gradle.internal.extensions.stdlib.uncheckedCast
    
    
    inline fun <reified T : Any> Project.setSingletonProperty(value: T) {
        extra[T::class.java.name] = value
    }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top