Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for setcCompiler (0.28 sec)

  1. platforms/jvm/scala/src/main/java/org/gradle/api/tasks/scala/ScalaCompile.java

        }
    
        /**
         * For testing only.
         */
        public void setCompiler(org.gradle.language.base.internal.compile.Compiler<ScalaJavaJointCompileSpec> compiler) {
            this.compiler = compiler;
        }
    
        @Override
        protected org.gradle.language.base.internal.compile.Compiler<ScalaJavaJointCompileSpec> getCompiler(ScalaJavaJointCompileSpec spec) {
            assertScalaClasspathIsNonEmpty();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:50 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/NativeCompilerTest.groovy

        private static final String O_EXT = ".o"
    
        protected abstract NativeCompiler getCompiler(CommandLineToolContext invocationContext, String objectFileExtension, boolean useCommandFile)
    
        protected NativeCompiler getCompiler() {
            getCompiler(new DefaultMutableCommandLineToolContext(), O_EXT, false)
        }
    
        protected abstract Class<? extends NativeCompileSpec> getCompileSpecType()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/internal-instrumentation-processor/src/test/groovy/org/gradle/internal/instrumentation/InstrumentationCodeGenTest.groovy

        }
    
        protected static Compilation compile(JavaFileObject... fileObjects) {
            return getCompiler()
                .withProcessors(new ConfigurationCacheInstrumentationProcessor())
                .compile(fileObjects)
        }
    
        private static com.google.testing.compile.Compiler getCompiler() {
            assumeTrue("Java 20+ do not support --release=8", Jvm.current().javaVersion < JavaVersion.VERSION_20)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/AssemblerTest.groovy

    import org.gradle.nativeplatform.toolchain.internal.compilespec.AssembleSpec
    
    class AssemblerTest extends VisualCppNativeCompilerTest {
    
        @Override
        protected NativeCompiler getCompiler(CommandLineToolContext invocationContext, String objectFileExtension, boolean useCommandFile) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/WindowsResourceCompilerTest.groovy

    import org.gradle.nativeplatform.toolchain.internal.compilespec.WindowsResourceCompileSpec
    
    class WindowsResourceCompilerTest extends VisualCppNativeCompilerTest {
    
        @Override
        protected NativeCompiler getCompiler(CommandLineToolContext invocationContext, String objectFileExtension, boolean useCommandFile) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/CleaningJavaCompiler.java

            Compiler<? super T> compiler = getCompiler();
            return compiler.execute(spec)
                .or(WorkResults.didWork(cleanedOutputs));
        }
    
        private void addDirectoryIfNotNull(ImmutableSet.Builder<File> outputDirs, @Nullable File dir) {
            if (dir != null) {
                outputDirs.add(dir);
            }
        }
    
        public Compiler<T> getCompiler() {
            return compiler;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. platforms/jvm/scala/src/test/groovy/org/gradle/api/tasks/scala/ScalaCompileTest.groovy

            destDir = project.file("destDir")
            depCacheDir = project.file("depCache")
            srcDir = project.file("src")
            srcDir.mkdirs()
    
            scalaCompile = createTask(ScalaCompile)
            scalaCompile.setCompiler(scalaCompiler)
    
            FileUtils.touch(new File(srcDir, "incl/file.scala"))
            FileUtils.touch(new File(srcDir, "incl/file.java"))
        }
    
        def "default values"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/GccPlatformToolChain.java

     */
    @Incubating
    public interface GccPlatformToolChain extends NativePlatformToolChain {
        /**
         * Returns the settings to use for the C compiler.
         */
        GccCommandLineToolConfiguration getcCompiler();
    
        /**
         * Returns the settings to use for the C++ compiler.
         */
        GccCommandLineToolConfiguration getCppCompiler();
    
        /**
         * Returns the settings to use for the Objective-C compiler.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/ObjectiveCPCHCompilerTest.groovy

    import org.gradle.nativeplatform.toolchain.internal.compilespec.ObjectiveCPCHCompileSpec
    
    class ObjectiveCPCHCompilerTest extends GccCompatibleNativeCompilerTest {
        @Override
        protected NativeCompiler getCompiler(CommandLineToolContext invocationContext, String objectFileExtension, boolean useCommandFile) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/VisualCppPlatformToolChain.java

     */
    @Incubating
    public interface VisualCppPlatformToolChain extends NativePlatformToolChain {
        /**
         * Returns the settings to use for the C compiler.
         */
        CommandLineToolConfiguration getcCompiler();
    
        /**
         * Returns the settings to use for the C++ compiler.
         */
        CommandLineToolConfiguration getCppCompiler();
    
        /**
         * Returns the settings to use for the Windows resources compiler.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top