com.autonomousapps.kit.render.MethodOrAssignment.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gradle-testkit-support Show documentation
Show all versions of gradle-testkit-support Show documentation
A DSL for building test fixtures with Gradle TestKit
The newest version!
// Copyright (c) 2024. Tony Robalik.
// SPDX-License-Identifier: Apache-2.0
package com.autonomousapps.kit.render
/**
* Sometimes the differences between Groovy and Kotlin DSL are not just whether parentheses are optional or single- vs
* double-quotes, but whether a property is configured via a method call or an assignment. For example, a repository
* may be declared like so:
*
* ```
* // valid Groovy syntax
* maven { url '...' }
* maven { url = '...' }
* ```
* ```
* // valid Kotlin syntax
* maven { url = uri("...") }
* maven(url = "...")
* ```
*/
internal class MethodOrAssignment {
// TODO(tsr): use?
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy