- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 39 for GroovyObject (0.17 sec)
-
platforms/documentation/docs/src/snippets/kotlinDsl/interoperability-groovy-builder/kotlin/build.gradle.kts
fun another(map: Map<String, *>) {} } val target = TargetType() val aReference = "" // tag::withGroovyBuilder[] target.withGroovyBuilder { // <1> // GroovyObject methods available // <2> if (hasProperty("foo")) { /*...*/ } val foo = getProperty("foo") setProperty("foo", "bar") invokeMethod("name", arrayOf("parameters", 42, aReference))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 925 bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/type/ModelTypes.java
*/ package org.gradle.model.internal.type; import com.google.common.collect.ImmutableSortedSet; import com.google.common.collect.Iterables; import com.google.common.collect.Ordering; import groovy.lang.GroovyObject; import org.gradle.model.ModelMap; import org.gradle.model.ModelSet; import java.util.ArrayDeque; import java.util.LinkedHashSet; import java.util.List; import java.util.Queue; import java.util.Set;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 4.2K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GroovyInteroperabilityIntegrationTest.kt
import org.gradle.kotlin.dsl.fixtures.AbstractKotlinIntegrationTest import org.junit.Test class GroovyInteroperabilityIntegrationTest : AbstractKotlinIntegrationTest() { @Test fun `can call GroovyObject methods in withGroovyBuilder`() { withDefaultSettings() withFile( "groovy.gradle", """ class MyExtension { String server = 'default'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/GroovyStackTraceSpec.java
+ "|org.codehaus.groovy\\..*MetaClass.*" + "|groovy\\..*MetaClass.*" + "|groovy.lang.MetaMethod" + "|groovy.lang.GroovyObject" + "|java.lang.reflect\\..*" + "|sun.reflect\\..*" + "|jdk.internal.reflect\\..*" + "|org.codehaus.groovy.vmplugin\\..*" );
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/type/ModelTypesTest.groovy
where: types | closed [Integer] | typeHierarchyForInteger [Integer, Double] | typeHierarchyForInteger + typeHierarchyForDouble [Object] | [] [GroovyObject] | [] } static def getTypeHierarchyForDouble() { return maybeWithJava12ConstantTypes([Double, Number, Comparable, Serializable]) } static def getTypeHierarchyForInteger() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/initialization/LegacyTypesSupport.java
*/ @ServiceScope(Scope.Global.class) public interface LegacyTypesSupport { /** * Returns a set of classes that require {@link groovy.lang.GroovyObject} to be mixed in. */ Set<String> getClassesToMixInGroovyObject(); /** * Returns a set of types that have been removed, but which are baked into the bytecode * generated by the Groovy compiler
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 00:47:05 UTC 2024 - 1.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultAntBuilder.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.api.internal.project; import com.google.common.collect.Sets; import groovy.lang.GroovyObject; import groovy.lang.MissingPropertyException; import groovy.util.ObservableMap; import org.apache.tools.ant.MagicNames; import org.apache.tools.ant.ProjectHelper; import org.apache.tools.ant.PropertyHelper;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 8.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/model/NamedObjectInstantiator.java
import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; import com.google.common.cache.LoadingCache; import com.google.common.util.concurrent.UncheckedExecutionException; import groovy.lang.GroovyObject; import org.gradle.api.GradleException; import org.gradle.api.Named; import org.gradle.api.reflect.ObjectInstantiationException; import org.gradle.cache.internal.CrossBuildInMemoryCache;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 21:54:37 UTC 2024 - 11.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorTest.java
assertTrue(bean instanceof GroovyObject); GroovyObject groovyObject = (GroovyObject) bean; assertThat(groovyObject.getMetaClass(), notNullValue()); groovyObject.setProperty("prop", "value"); assertThat(bean.getProp(), equalTo("value")); assertThat(groovyObject.getProperty("prop"), equalTo((Object) "value"));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 74.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/loader/DefaultToolingImplementationLoaderTest.groovy
ClasspathUtil.getClasspathForClass(ActorFactory.class), ClasspathUtil.getClasspathForClass(Logger.class), ClasspathUtil.getClasspathForClass(GroovyObject.class), ClasspathUtil.getClasspathForClass(GradleVersion.class)) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 11.2K bytes - Viewed (0)