- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for useToRun (0.2 sec)
-
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/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) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/GenerateVersionCatalogAccessors.kt
import org.gradle.kotlin.dsl.support.bytecode.publicKotlinClass import org.gradle.kotlin.dsl.support.bytecode.publicStaticMethod import org.gradle.kotlin.dsl.support.bytecode.writeFileFacadeClassHeader import org.gradle.kotlin.dsl.support.useToRun import org.jetbrains.org.objectweb.asm.ClassWriter import java.io.BufferedWriter import java.io.File import kotlin.reflect.KClass internal class GenerateVersionCatalogAccessors(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:28 UTC 2023 - 11.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/JavaObjectSerializationCodecTest.kt
import com.google.common.reflect.TypeToken import com.nhaarman.mockitokotlin2.mock import org.gradle.api.Project import org.gradle.internal.extensions.stdlib.uncheckedCast import org.gradle.internal.extensions.stdlib.useToRun import org.gradle.internal.configuration.problems.DocumentationSection.NotYetImplementedJavaSerialization import org.gradle.internal.configuration.problems.PropertyKind import org.gradle.internal.configuration.problems.PropertyTrace
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 16.1K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/GeneratePluginSpecBuilderAccessors.kt
import org.gradle.kotlin.dsl.support.bytecode.publicStaticMethod import org.gradle.kotlin.dsl.support.bytecode.writeFileFacadeClassHeader import org.gradle.kotlin.dsl.support.uppercaseFirstChar import org.gradle.kotlin.dsl.support.useToRun import org.gradle.plugin.use.PluginDependenciesSpec import org.gradle.plugin.use.PluginDependencySpec import org.jetbrains.org.objectweb.asm.ClassWriter import org.jetbrains.org.objectweb.asm.MethodVisitor
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:28 UTC 2023 - 15.7K bytes - Viewed (0)