- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for useToRun (0.14 sec)
-
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/ProjectSchemaTest.kt
import org.gradle.api.Project import org.gradle.api.reflect.TypeOf import org.gradle.internal.classpath.ClassPath import org.gradle.kotlin.dsl.fixtures.classLoaderFor import org.gradle.kotlin.dsl.support.useToRun import org.hamcrest.CoreMatchers.equalTo import org.junit.Assert.assertFalse import org.hamcrest.MatcherAssert.assertThat import org.junit.Test import org.objectweb.asm.Opcodes.ACC_PUBLIC
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 7.2K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ExecutableProgram.kt
import org.gradle.api.Project import org.gradle.internal.classpath.ClassPath import org.gradle.internal.hash.HashCode import org.gradle.kotlin.dsl.support.KotlinScriptHost import org.gradle.kotlin.dsl.support.useToRun import org.gradle.plugin.management.internal.PluginRequests internal abstract class ExecutableProgram { abstract fun execute(programHost: Host, scriptHost: KotlinScriptHost<*>)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 3.1K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/IO.kt
*/ package org.gradle.kotlin.dsl.support import java.io.File internal fun userHome() = File(System.getProperty("user.home")) inline fun <T : AutoCloseable, U> T.useToRun(action: T.() -> U): U = use { run(action) } internal fun File.isParentOf(child: File): Boolean = child.canonicalPath.startsWith(canonicalPath) /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Sep 30 16:17:27 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/concurrent/DefaultAsyncIOScopeFactoryTest.kt
import org.awaitility.Duration.ONE_SECOND import org.awaitility.kotlin.atMost import org.awaitility.kotlin.await import org.awaitility.kotlin.untilNotNull import org.gradle.kotlin.dsl.support.useToRun import org.hamcrest.CoreMatchers.equalTo import org.hamcrest.CoreMatchers.instanceOf import org.hamcrest.CoreMatchers.sameInstance import org.hamcrest.MatcherAssert.assertThat import org.junit.Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/core-configuration/stdlib-kotlin-extensions/src/main/kotlin/org/gradle/internal/extensions/stdlib/AutoCloseableExtensions.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.extensions.stdlib inline fun <T : AutoCloseable, U> T.useToRun(action: T.() -> U): U =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:59:39 UTC 2024 - 760 bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/AbstractUserTypeCodecTest.kt
import org.gradle.internal.configuration.problems.PropertyProblem import org.gradle.internal.cc.base.serialize.IsolateOwners import org.gradle.internal.extensions.stdlib.uncheckedCast import org.gradle.internal.extensions.stdlib.useToRun import org.gradle.internal.io.NullOutputStream import org.gradle.internal.serialize.FlushableEncoder import org.gradle.internal.serialize.beans.services.BeanConstructors
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 7.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/isolation/IsolatedActionSerializer.kt
import org.gradle.internal.cc.base.logger import org.gradle.internal.extensions.stdlib.invert import org.gradle.internal.extensions.stdlib.uncheckedCast import org.gradle.internal.extensions.stdlib.useToRun import org.gradle.internal.serialize.graph.BeanStateReaderLookup import org.gradle.internal.serialize.graph.BeanStateWriterLookup import org.gradle.internal.serialize.graph.ClassDecoder
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 5.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/concurrent/IO.kt
import org.gradle.api.Project import org.gradle.internal.service.scopes.Scope import org.gradle.internal.service.scopes.ServiceScope import org.gradle.kotlin.dsl.support.serviceOf import org.gradle.kotlin.dsl.support.useToRun import java.io.File /** * A scheduler of IO actions. */ interface IO { /** * Schedules the given [io action][action] for execution. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 13:09:45 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/PluginSpecBuilderAccessorsClassPathTest.kt
import org.gradle.kotlin.dsl.fixtures.pluginDescriptorEntryFor import org.gradle.kotlin.dsl.internal.sharedruntime.codegen.pluginEntriesFrom import org.gradle.kotlin.dsl.support.useToRun import org.gradle.kotlin.dsl.support.zipTo import org.gradle.plugin.use.PluginDependenciesSpec import org.gradle.plugin.use.PluginDependencySpec import org.hamcrest.CoreMatchers.allOf
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Sep 30 16:17:27 UTC 2023 - 6.3K bytes - Viewed (0) -
platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Combinators.kt
* limitations under the License. */ package org.gradle.internal.serialize.graph import org.gradle.internal.extensions.stdlib.uncheckedCast import org.gradle.internal.extensions.stdlib.useToRun import org.gradle.internal.serialize.BaseSerializerFactory import org.gradle.internal.serialize.Decoder import org.gradle.internal.serialize.Encoder import org.gradle.internal.serialize.Serializer import java.io.File
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:59:39 UTC 2024 - 8.4K bytes - Viewed (0)