- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,285 for Groovy (0.89 sec)
-
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelGroovyScalarConfigurationIntegrationTest.groovy
failure.assertThatCause(containsString('''The following types/formats are supported: - A String or CharSequence - Any Number''')) where: // not including char, Character, and String since Groovy auto-coerces to String, // or boolean/Boolean since those are special cased for 'true' varname << ['theBigDecimal', 'theBigInteger', 'theDouble', 'thedouble', 'thefloat', 'theFloat', 'theint',
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 19.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsStaticGroovyBuildSrcIntegrationTest.groovy
String getLocation() { return "Plugin class 'SneakyPlugin'" } @Override void buildLogicApplication(BuildInputRead read) { staticGroovyPlugin(file("buildSrc/src/main/groovy/SneakyPlugin.groovy"), read) buildFile << """ apply plugin: SneakyPlugin """ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.1K bytes - Viewed (0) -
platforms/core-execution/execution/src/integTest/groovy/org/gradle/internal/execution/MutableUnitOfWorkBuilder.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.execution import com.google.common.collect.Maps import groovy.transform.CompileStatic import groovy.transform.Immutable import org.gradle.api.internal.file.TestFiles import org.gradle.internal.execution.history.ExecutionHistoryStore import org.gradle.internal.execution.model.InputNormalizer
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:28 UTC 2023 - 9.2K bytes - Viewed (0) -
build-logic/performance-testing/src/main/groovy/gradlebuild/performance/ScenarioBuildResultData.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.performance import groovy.transform.CompileStatic import groovy.transform.MapConstructor // Modify this class with care, see class org.gradle.performance.results.PerformanceTestExecutionResult @MapConstructor @CompileStatic class ScenarioBuildResultData {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 07 13:01:55 UTC 2021 - 1.1K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/PluginClasspathLeakIntegrationTest.groovy
private static void addPluginSource(TestFile pluginProjectDir, String code) { def packageName = "org.gradle.test" def sourceFilePath = "${packageName.replaceAll("\\.", "/")}/${"TestPlugin"}.groovy" pluginProjectDir.file("src/main/groovy/${sourceFilePath}") << """ ${packageName ? "package $packageName" : ""} class TestPlugin implements $Plugin.name<$Project.name> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 01 09:47:33 UTC 2024 - 4.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelRuleSamplesIntegrationTest.groovy
@UsesSample("modelRules/modelDsl") def "dsl creation example works"() { when: inDirectory(sample.dir.file('groovy')) then: succeeds "hello" output.contains("Hello John Smith!") when: inDirectory(sample.dir.file('groovy')) then: succeeds "listPeople" output.contains("configuring Person 'people.john'")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute1StaticInstrumentationInDynamicGroovyWithoutIndyIntegrationTest.groovy
*/ package org.gradle.internal.cc.impl.inputs.process.instrument /** * Test cases for single-argument {@code ProcessGroovyMethods.execute} with static import (Groovy produces a special byte code in this case): * <pre> * import static org.codehaus.groovy.runtime.ProcessGroovyMethods.execute * execute("echo 123") * execute(["echo", "123"]) * </pre> */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ModelStoreTestUtils.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.model.internal.manage.schema.extract import groovy.transform.CompileStatic import org.codehaus.groovy.reflection.ClassInfo @CompileStatic class ModelStoreTestUtils { private final static Object GLOBAL_CLASS_SET private final static Iterable<ClassInfo> GLOBAL_CLASS_SET_ITEMS
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/DynamicGroovyPluginMixin.groovy
/** * A set of helpers to generate a Groovy plugin with provided code in buildSrc and apply it to the project under test. * The trait is intended to be mixed into something that extends {@link org.gradle.integtests.fixtures.AbstractIntegrationSpec}. */ trait DynamicGroovyPluginMixin { void withPluginCode(String imports, String codeUnderTest, boolean enableIndy) { file("buildSrc/src/main/groovy/SomePlugin.groovy") << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyGroovyInterOpIntegrationTest.groovy
import org.gradle.api.tasks.TaskAction import javax.inject.Inject class PropertyGroovyInterOpIntegrationTest extends AbstractPropertyGroovyInterOpIntegrationTest { def setup() { pluginDir.file("src/main/groovy/SomeTask.groovy") << """ import ${DefaultTask.name} import ${Property.name} import ${ListProperty.name} import ${SetProperty.name} import ${MapProperty.name}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.8K bytes - Viewed (0)