Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for isopen (0.33 sec)

  1. platforms/core-configuration/flow-services/src/main/kotlin/org/gradle/internal/flow/services/BuildFlowScope.kt

        private
        sealed class State {
    
            abstract val pendingActions: List<RegisteredFlowAction>
    
            open fun add(registeredFlowAction: RegisteredFlowAction): Unit = illegalState()
    
            open fun store(): Pair<Any, State> = illegalState()
    
            open fun load(memento: Any): State {
                return Loaded(memento.uncheckedCast())
            }
    
            protected
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintController.kt

        private
        abstract class WritingState {
    
            open fun maybeStart(buildScopedSpoolFile: StateFile, projectScopedSpoolFile: StateFile, writeContextForOutputStream: (StateFile) -> DefaultWriteContext): WritingState =
                illegalStateFor("start")
    
            open fun pause(): WritingState =
                illegalStateFor("pause")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  3. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt

    /**
     * Repository providing access to class bytes by Kotlin source names.
     *
     * Follows the one directory per package name segment convention.
     * Keeps JAR files open for fast lookup, must be closed.
     *
     * Always include the current JVM platform loader for which no JAR file can be held open.
     */
    class ClassBytesRepository(
        platformClassLoader: ClassLoader,
        classPathFiles: List<File>,
        classPathDependencies: List<File> = emptyList(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 17:45:10 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/UnauthorizedFileVisitDetails.java

            throw new UnsupportedOperationException();
        }
    
        @Override
        public long getSize() {
            throw new UnsupportedOperationException();
        }
    
        @Override
        public InputStream open() {
            throw new UnsupportedOperationException();
        }
    
        @Override
        public void copyTo(OutputStream output) {
            throw new UnsupportedOperationException();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 10:41:40 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

            appendFileContentsTo(document.head(), "<style>", releaseNotesCss, "</style>");
        }
    
        private void appendFileContentsTo(Element element, String open, File file, String close) {
            try (FileReader reader = new FileReader(file)) {
                element.append(open + CharStreams.toString(reader) + close);
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 05:15:02 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleApiExtensionsIntegrationTest.kt

        fun `Kotlin chooses withType extension specialized to container type`() {
    
            withBuildScript(
                """
    
                open class A
                open class B : A()
    
                inline fun <reified T> inferredTypeOf(value: T) = typeOf<T>().toString()
    
                task("test") {
    
                    doLast {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 03 15:53:16 UTC 2023
    - 9K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/KotlinBuildScript.kt

            host.scriptHandler
    
        /**
         * Configures the build script classpath for this project.
         *
         * @see [Project.buildscript]
         */
        @Suppress("unused")
        open fun buildscript(block: ScriptHandlerScope.() -> Unit): Unit =
            internalError()
    
        /**
         * Configures the plugin dependencies for this project.
         *
         * @see [PluginDependenciesSpec]
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. build-logic/packaging/src/main/kotlin/gradlebuild.public-api-jar.gradle.kts

    // and its external dependencies.
    val gradleApiElements = configurations.consumable("gradleApiElements") {
        extendsFrom(externalApi.get())
        outgoing.artifact(task)
        configureAsRuntimeElements(objects)
    }
    
    open class SoftwareComponentFactoryProvider @Inject constructor(val factory: SoftwareComponentFactory)
    val softwareComponentFactory = project.objects.newInstance(SoftwareComponentFactoryProvider::class.java).factory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 11:35:55 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDebugLogIntegrationTest.groovy

    import static org.gradle.internal.cc.impl.fingerprint.ProjectSpecificFingerprint.ProjectFingerprint
    
    class ConfigurationCacheDebugLogIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
    
        def "logs categorized open/close frame events for state and fingerprint files"() {
            given:
            createDirs("sub")
            settingsFile << """
                rootProject.name = 'root'
                include 'sub'
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/BuildLogicChangeFixture.groovy

                        }
                    """
                    break
                case Language.KOTLIN:
                    writeSourceFile "kotlin", "${className}.kt", """
                        open class ${className} : ${DefaultTask.name}() {
                            @${TaskAction.name} fun greet() { println("${greeting}") }
                        }
                    """
                    break
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top