Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 723 for Compilation (0.49 sec)

  1. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryConsumptionIntegrationTest.groovy

                }
            """
    
            when:
            //compilation should fail, as `rx.observers.Observable` is part of RxJava 1.x, which is a runtime-only dependency.
            file('src/main/java/App.java') << 'public class App { public void run() { rx.observers.Observers.empty(); } }'
    
            then:
            fails 'checkForRxJavaDependency', 'build'
            failure.assertHasCause('Compilation failed; see the compiler error output for details.')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 16:14:19 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/IncrementalScalaCompileIntegrationTest.groovy

            runAndFail("classes").assertHasDescription("Execution failed for task ':compileScala'.")
    
            then:
            // both files must exist (same content as in previous compilation)
            // this is needed for incremental compilation, outputs must be kept in sync with analysis file
            iperson.assertIsFile()
            person.assertIsFile()
        }
    
        @Issue("GRADLE-2548")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/tutorial/compileTaskClasspath/groovy/build.gradle

        // (and not longer the output of compileJava)
        classpath = sourceSets.main.compileClasspath
    }
    tasks.named('compileJava') {
        // Java also depends on the result of Groovy compilation
        // (which automatically makes it depend of compileGroovy)
        classpath += files(sourceSets.main.groovy.classesDirectory)
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 547 bytes
    - Viewed (0)
  4. tensorflow/compiler/aot/compile.h

    // that performs the graph operations.
    //
    // The XLA compilation options are specified in the flags.
    Status CompileGraph(GraphDef graph_def, const tf2xla::Config& config,
                        const MainFlags& flags, CompileResult* compile_result);
    
    // The full compilation method, for reuse in a library setting.
    Status Main(const MainFlags& flags);
    
    }  // namespace tfcompile
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. analysis/analysis-api-standalone/analysis-api-standalone-native/tests/org/jetbrains/kotlin/analysis/api/standalone/konan/fir/test/cases/session/builder/testUtils.kt

     */
    
    package org.jetbrains.kotlin.analysis.api.standalone.konan.fir.test.cases.session.builder
    
    import org.jetbrains.kotlin.cli.common.ExitCode
    import org.jetbrains.kotlin.konan.test.blackbox.support.compilation.callCompilerWithoutOutputInterceptor
    import org.jetbrains.kotlin.test.util.KtTestUtil
    import java.nio.file.Files
    import java.nio.file.Path
    import java.nio.file.Paths
    import kotlin.io.path.absolutePathString
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Nov 16 13:31:53 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/OptionalTest.java

       * mentioned in the method Javadoc does in fact compile.
       */
    
      @SuppressWarnings("unused") // compilation test
      public void testSampleCodeError1() {
        Optional<Integer> optionalInt = getSomeOptionalInt();
        // Number value = optionalInt.or(0.5); // error
      }
    
      @SuppressWarnings("unused") // compilation test
      public void testSampleCodeError2() {
        FluentIterable<? extends Number> numbers = getSomeNumbers();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. platforms/jvm/scala/src/main/java/org/gradle/language/scala/tasks/AbstractScalaCompile.java

        }
    
        /**
         * Returns the Scala compilation options.
         */
        @Nested
        public BaseScalaCompileOptions getScalaCompileOptions() {
            return scalaCompileOptions;
        }
    
        /**
         * Returns the Java compilation options.
         */
        @Nested
        @Override
        public CompileOptions getOptions() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/CompileJavaBuildOperationType.java

        public interface Details {
            /**
             * Returns the name of the task that is executing the compilation.
             */
            String getTaskIdentityPath();
        }
    
        public interface Result {
    
            /**
             * Returns details about the used annotation processors, if available.
             *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/main/java/org/gradle/api/tasks/compile/JavaCompile.java

            };
        }
    
        /**
         * The previous compilation analysis. Internal use only.
         *
         * @since 7.1
         */
        @OutputFile
        protected File getPreviousCompilationData() {
            if (previousCompilationDataFile == null) {
                previousCompilationDataFile = new File(getTemporaryDirWithoutCreating(), "previous-compilation-data.bin");
            }
            return previousCompilationDataFile;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:33:35 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/jvm/building_java_projects.adoc

     * the source files and where they're located
     * the compilation classpath, including any required dependencies (via Gradle <<dependency_management_terminology.adoc#sub:terminology_configuration,configurations>>)
     * where the compiled class files are placed
    
    You can see how these relate to one another in this diagram:
    
    .Source sets and Java compilation
    image::java-sourcesets-compilation.png[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 44.1K bytes
    - Viewed (0)
Back to top