Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for taskdef (0.1 sec)

  1. platforms/jvm/jacoco/src/main/java/org/gradle/internal/jacoco/AbstractAntJacocoReport.java

                @SuppressWarnings("UnusedDeclaration")
                public Object doCall(Object it) {
                    GroovyObjectSupport antBuilder = (GroovyObjectSupport) it;
                    antBuilder.invokeMethod("taskdef", ImmutableMap.of(
                            "name", "jacocoReport",
                            "classname", "org.jacoco.ant.ReportTask"
                    ));
                    action.execute(antBuilder);
                    return null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:19:29 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/TaskReferenceCodec.kt

    private
    enum class ReferenceType {
        SELF_REF,
        TASK_REF,
        PROHIBITED
    }
    
    
    object TaskReferenceCodec : Codec<Task> {
    
        override suspend fun WriteContext.encode(value: Task) = when {
            value === isolate.owner.delegate ->
                writeEnum(ReferenceType.SELF_REF)
    
            isTaskReferencesAllowed(value) -> {
                writeEnum(ReferenceType.TASK_REF)
                writeString(value.name)
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/filters/routine.go

    	"k8s.io/apiserver/pkg/endpoints/request"
    )
    
    type taskKeyType int
    
    const taskKey taskKeyType = iota
    
    type Task struct {
    	Func func()
    }
    
    func WithTask(parent context.Context, t *Task) context.Context {
    	return request.WithValue(parent, taskKey, t)
    }
    
    func TaskFrom(ctx context.Context) *Task {
    	t, _ := ctx.Value(taskKey).(*Task)
    	return t
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 10:22:16 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. testing/distributions-integ-tests/src/integTest/groovy/org/gradle/SrcDistributionIntegrationSpec.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle
    
    import org.apache.tools.ant.taskdefs.Expand
    import org.gradle.api.logging.configuration.WarningMode
    import org.gradle.integtests.fixtures.ToBeFixedForConfigurationCache
    import org.gradle.internal.jvm.Jvm
    import org.gradle.test.fixtures.file.TestFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-application/src/main/java/org/gradle/api/internal/plugins/StartScriptGenerator.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.api.internal.plugins;
    
    import org.apache.tools.ant.taskdefs.Chmod;
    import org.gradle.api.Action;
    import org.gradle.api.UncheckedIOException;
    import org.gradle.internal.IoActions;
    import org.gradle.internal.os.OperatingSystem;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top