Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 260 for _action (1.2 sec)

  1. platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/ResolveArtifactNodeCodec.kt

    
    object ResolveArtifactNodeCodec : Codec<DefaultResolvableArtifact.ResolveAction> {
        override suspend fun WriteContext.encode(value: DefaultResolvableArtifact.ResolveAction) {
            // TODO - should just discard this action. The artifact location will already have been resolved during writing to the cache
            // and so this node does not do anything useful
            write(value.artifact)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/SimplifiedKotlinScriptEvaluator.kt

            override fun hashOf(classPath: ClassPath): HashCode =
                TestHashCodes.hashCodeFrom(0)
    
            override fun runCompileBuildOperation(scriptPath: String, stage: String, action: () -> String): String =
                action()
    
            override fun onScriptClassLoaded(scriptSource: ScriptSource, specializedProgram: Class<*>) = Unit
    
            override val implicitImports: List<String>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ProjectExtensions.kt

    import kotlin.reflect.KClass
    import kotlin.reflect.KProperty
    
    
    /**
     * Configures the build script classpath for this project.
     */
    fun Project.buildscript(action: ScriptHandlerScope.() -> Unit): Unit =
        ScriptHandlerScopeInternal(project, buildscript).action()
    
    
    /**
     * Sets the default tasks of this project. These are used when no tasks names are provided when
     * starting the build.
     */
    @Suppress("nothing_to_inline")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 09:50:04 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/DomainObjectCollectionExtensions.kt

    /**
     * Returns a collection containing the objects in this collection of the given type.
     * Equivalent to calling `withType(type).all(configureAction)`.
     *
     * @param S The type of objects to find.
     * @param configuration The action to execute for each object in the resulting collection.
     * @return The matching objects. Returns an empty collection if there are no such objects
     * in this collection.
     * @see [DomainObjectCollection.withType]
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/provider/ScriptApiTest.kt

    package org.gradle.kotlin.dsl.provider
    
    import org.gradle.api.Action
    import org.gradle.api.initialization.Settings
    import org.gradle.kotlin.dsl.*
    import org.gradle.kotlin.dsl.precompile.v1.PrecompiledInitScript
    import org.gradle.kotlin.dsl.precompile.v1.PrecompiledProjectScript
    import org.gradle.kotlin.dsl.precompile.v1.PrecompiledSettingsScript
    import org.gradle.kotlin.dsl.support.CompiledKotlinBuildScript
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 9K bytes
    - Viewed (0)
  6. platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/LocalFileDependencyBackedArtifactSetCodec.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.serialize.codecs.dm
    
    import org.gradle.api.Action
    import org.gradle.api.artifacts.FileCollectionDependency
    import org.gradle.api.artifacts.component.ComponentIdentifier
    import org.gradle.api.artifacts.transform.TransformAction
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt

        @get:Internal
        abstract val propertiesFile: RegularFileProperty
    
        @get:Internal
        abstract val compatibilityDocFile: RegularFileProperty
    
        @TaskAction
        fun action() =
            fetchLatestKotlinVersions().let { latestKotlinVersions ->
                updateProperties(latestKotlinVersions)
                updateCompatibilityDoc(latestKotlinVersions)
            }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 26 13:50:17 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/BuildTreeModelSideEffectStore.kt

    import org.gradle.internal.serialize.graph.runWriteOperation
    import java.io.Closeable
    import java.util.concurrent.CopyOnWriteArrayList
    
    
    /**
     * Persists side effects observed during build action execution
     * and restores them on a subsequent load from the cache.
     *
     * @see BuildTreeModelSideEffect
     */
    internal
    class BuildTreeModelSideEffectStore(
        private val host: DefaultConfigurationCache.Host,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/K2IntegrationTest.kt

                import org.gradle.api.DefaultTask
                import org.gradle.api.tasks.TaskAction
    
                abstract class MyTask : DefaultTask() {
                    @TaskAction fun action() { println("Doing something") }
                }
            """)
            withFile("build-logic/src/main/kotlin/MyPlugin.kt", """
                import org.gradle.api.Project
                import org.gradle.api.Plugin
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 06:52:58 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. apache-maven/src/main/appended-resources/licenses/EPL-1.0.txt

    This Agreement is governed by the laws of the State of New York and the intellectual
    property laws of the United States of America. No party to this Agreement
    will bring a legal action under this Agreement more than one year after the
    cause of action arose. Each party waives its rights to a jury trial in any
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Sep 17 05:50:12 UTC 2018
    - 11.1K bytes
    - Viewed (0)
Back to top