Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for withType (0.18 sec)

  1. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

        java.toolchain {
            languageVersion = JavaLanguageVersion.of(11)
            vendor = JvmVendorSpec.ADOPTIUM
        }
    
        tasks.withType<JavaCompile>().configureEach {
            configureCompileTask(options)
            options.compilerArgs.add("-parameters")
        }
        tasks.withType<GroovyCompile>().configureEach {
            groovyOptions.encoding = "utf-8"
            sourceCompatibility = "1.8"
            targetCompatibility = "1.8"
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Jan 17 13:36:27 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  2. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

        val prefix = testType.prefix
        val sourceSet = the<SourceSetContainer>().getByName("${prefix}Test")
    
        // We apply lazy as we don't want to depend on the order
        plugins.withType<IdeaPlugin> {
            with(model) {
                module {
                    testSources.from(sourceSet.java.srcDirs, sourceSet.the<GroovySourceDirectorySet>().srcDirs)
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 11.7K bytes
    - Viewed (0)
Back to top