- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for MethodInvocationExpression (0.19 sec)
-
platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/BuildScriptBuilderGroovyTest.groovy
.propertyAssignment(null, "cathedral", 42) .propertyAssignment("Use a map", "cathedral", [a: 12, b: "value"]) .propertyAssignment("Use a method call", "cathedral", builder.methodInvocationExpression("thing", 123, false)) when: builder.create(target).generate() then: assertOutputFile("""$COMMON_START */ // Set a property foo.bar = 'bazar'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 18 14:16:33 UTC 2023 - 16.2K bytes - Viewed (0) -
platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/BuildScriptBuilderKotlinTest.groovy
.propertyAssignment(null, "cathedral", 42) .propertyAssignment("Use a map", "cathedral", [a: 12, b: "value"]) .propertyAssignment("Use a method call", "cathedral", builder.methodInvocationExpression("thing", 123, false)) when: builder.create(target).generate() then: assertOutputFile("""/* * This file was generated by the Gradle 'init' task. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 18 14:16:33 UTC 2023 - 16.1K bytes - Viewed (0) -
platforms/software/build-init/src/main/java/org/gradleinternal/buildinit/plugins/internal/maven/Maven2Gradle.java
} for (Map.Entry<String, String> entry : artifactIdToDir.entrySet()) { BuildScriptBuilder.Expression dirExpression = scriptBuilder.methodInvocationExpression("file", entry.getValue()); scriptBuilder.propertyAssignment(null, "project(\"" + entry.getKey() + "\").projectDir", dirExpression); } scriptBuilder.create(workingDir).generate(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 14 15:23:34 UTC 2024 - 27.8K bytes - Viewed (0)