Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 392 for Compilation (0.29 sec)

  1. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/environment/JreJavaHomeScalaIntegrationTest.groovy

        @Rule public final ZincScalaCompileFixture zincScalaCompileFixture = new ZincScalaCompileFixture(executer, temporaryFolder)
    
        @Requires(IntegTestPreconditions.BestJreAvailable)
        def "scala java cross compilation works when JAVA_HOME is set to JRE"() {
            given:
            def jreJavaHome = AvailableJavaHomes.bestJre
            file("src/main/scala/org/test/JavaClazz.java") << """
                        package org.test;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/jpms/compile/JavaModuleCompileIntegrationTest.groovy

            when:
            succeeds ':compileJava' // the internal class can be accessed
    
            then:
            javaClassFile('consumer/MainModule.class').exists()
        }
    
        def "fails module compilation for missing requires"() {
            given:
            publishJavaModule('moda')
            consumingModuleInfo()
            consumingModuleClass('moda.ModaClass')
    
            when:
            fails ':compileJava'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  3. platforms/jvm/language-groovy/src/integTest/groovy/org/gradle/groovy/compile/CachedGroovyCompileIntegrationTest.groovy

                class Hello {
                    public static void main(String... args) {
                        println "Hello!"
                    }
                }
            """.stripIndent()
            }
        }
    
        def "compilation is cached if location of the Groovy library is different"() {
            given:
            populateCache()
    
            executer.requireOwnGradleUserHomeDir() // dependency will be downloaded into a different directory
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 5K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/recomp/PreviousCompilationAccess.java

                return new PreviousCompilationData.Serializer(interner).read(encoder);
            } catch (Exception e) {
                throw new IllegalStateException("Could not read previous compilation result.", e);
            }
        }
    
        public void writePreviousCompilationData(PreviousCompilationData data, File target) {
            try (KryoBackedEncoder encoder = new KryoBackedEncoder(new FileOutputStream(target))) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/ZincScalaCompilerOutputNormalizer.groovy

    import java.util.regex.Pattern
    
    /**
     * Removes Scala Zinc compilation time logging from the build-init Scala samples output.
     * Also removes the potential warning around using `-target` instead of `-release`.
     * */
    class ZincScalaCompilerOutputNormalizer implements OutputNormalizer {
    
        private static final PATTERN = Pattern.compile(
            "(Scala Compiler interface compilation took ([0-9]+ hrs )?([0-9]+ mins )?[0-9.]+ secs\n\n)" +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/cpp/CompilationDetails.java

    import javax.annotation.Nullable;
    import java.io.File;
    import java.util.List;
    import java.util.Set;
    
    /**
     * Represents the compilation details for a binary.
     *
     * @since 4.10
     */
    public interface CompilationDetails {
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/performance/resolveAtConfigurationTime/tests/copyFiles.out

    >> Compilation deps: [commons-lang3-3.11.jar]...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 46 bytes
    - Viewed (0)
  8. src/go/doc/comment/testdata/text4.txt

    those provided by package "net/rpc".
    
    The implementation compiles a custom codec for each data type in the stream
    and is most efficient when a single Encoder is used to transmit a stream of
    values, amortizing the cost of compilation.
    -- text --
    Package gob manages streams
    of gobs - binary values
    exchanged between an Encoder
    (transmitter) and a Decoder
    (receiver). A typical use
    is transporting arguments
    and results of remote
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:45 UTC 2022
    - 937 bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/SettingsIncludeManyIntegrationTest.groovy

        def "including over 250 projects is not possible via varargs in Groovy 3"() {
            createProjectDirectories(254, includeFunction)
            // Groovy doesn't even support >=255 args at compilation, so to trigger the right error
            // 254 projects must be used instead.
            settingsFile << """
                rootProject.name = 'root'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/ResourceCleaningCompilationTask.java

    import javax.tools.DiagnosticListener;
    import javax.tools.JavaCompiler;
    import java.io.Closeable;
    import java.nio.charset.Charset;
    import java.util.Locale;
    
    /**
     * Cleans up resources (e.g. file handles) after compilation has finished.
     */
    class ResourceCleaningCompilationTask implements JavaCompiler.CompilationTask {
        private final JavaCompiler.CompilationTask delegate;
        private final Closeable fileManager;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top