Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for compileScala (0.16 sec)

  1. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/AbstractToolchainZincScalaCompileIntegrationTest.groovy

            given:
            goodJavaInterfaceCode()
            goodCodeUsingJavaInterface()
    
            expect:
            succeeds 'compileScala', '-s'
        }
    
        def "can generate ScalaDoc"() {
            given:
            goodCode()
    
            expect:
            succeeds("scaladoc")
            file("build/docs/scaladoc/compile/test/Person.html").assertExists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/ScalaPluginIntegrationTest.groovy

                class Foo {
                }
            '''
            expect:
            succeeds(':compileScala', '--info')
            postBuildOutputContains('Stopped 1 worker daemon')
    
            when:
            buildFile.text = buildFile.text.replace('SESSION', 'DAEMON')
    
            then:
            succeeds(':compileScala', '--info')
            postBuildOutputDoesNotContain('Stopped 1 worker daemon')
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  3. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/ZincScalaCompilerMultiVersionIntegrationTest.groovy

            """
            args("--info")
        }
    
        def "can build with configured zinc compiler version" () {
            given:
            withScalaSources()
    
            expect:
            succeeds("assertZincVersion", "compileScala")
            output.contains("Compiling with Zinc Scala compiler")
            scalaClassFile("compile/test").assertContainsDescendants(
                "Person.class",
                "Person2.class"
            )
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/ScalaBasePluginIntegrationTest.groovy

                }
            """
    
            file("src/main/scala/Thing.scala") << """
                class Thing
            """
    
            when:
            fails "compileScala"
    
            then:
            failure.assertThatCause(startsWith("Cannot infer Scala class path because no Scala library Jar was found."))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/ScalaCompilationFixture.groovy

        String sourceDir
        TestFile analysisFile
    
        ScalaCompilationFixture(File root) {
            this.root = new TestFile(root)
            this.analysisFile = this.root.file("build/tmp/scala/compilerAnalysis/compileScala.analysis")
            this.sourceSet = 'main'
            this.sourceDir = 'src/main/scala'
            this.scalaVersion = ScalaCoverage.SCALA_2.last()
            this.zincVersion = ScalaBasePlugin.DEFAULT_ZINC_VERSION
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/jvm/scala_plugin.adoc

    [[sec:scala_tasks]]
    == Tasks
    
    The Scala plugin adds the following tasks to the project.
    Information about altering the dependencies to Java compile tasks are found <<building_java_projects.adoc#sec:building_jvm_lang,here>>.
    
    `compileScala` — link:{groovyDslPath}/org.gradle.api.tasks.scala.ScalaCompile.html[ScalaCompile]::
    _Depends on_: `compileJava`
    +
    Compiles production Scala source files.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 17:38:38 UTC 2023
    - 17K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/img/scalaPluginTasks.graphml

              <y:Shape type="roundrectangle"/>
            </y:ShapeNode>
          </data>
        </node>
        <node id="n2">
          <data key="d6">
            <y:ShapeNode>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 10.7K bytes
    - Viewed (0)
Back to top