Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for freeCompilerArgs (0.42 sec)

  1. analysis/analysis-api-fir/build.gradle.kts

        systemProperties["line.separator"] = "\n"
    }
    
    val compileKotlin by tasks
    
    compileKotlin.dependsOn(generateCode)
    
    tasks.withType<KotlinJvmCompile>().configureEach {
        compilerOptions.freeCompilerArgs.add("-Xcontext-receivers")
        compilerOptions.optIn.add("org.jetbrains.kotlin.analysis.api.KaAnalysisApiInternals")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 22:09:27 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl-plugins/src/main/kotlin/org/gradle/kotlin/dsl/plugins/dsl/KotlinDslCompilerPlugins.kt

                            }
                        }
                        apiVersion.set(KotlinVersion.KOTLIN_1_8)
                        languageVersion.set(KotlinVersion.KOTLIN_1_8)
                        freeCompilerArgs.addAll(KotlinDslPluginSupport.kotlinCompilerArgs)
                    }
                    kotlinCompile.setWarningRewriter(ExperimentalCompilerWarningSilencer(listOf(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 27 18:03:28 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleKotlinDslRegressionsTest.kt

                    jvmTargetValidationMode = org.jetbrains.kotlin.gradle.dsl.jvm.JvmTargetValidationMode.WARNING
                    compilerOptions.freeCompilerArgs.add("-Xjsr305=strict")
                }
            """)
    
            withFile("src/main/kotlin/code.kt", """
                import org.gradle.api.*
    
                class MyPlugin : Plugin<Project> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 07:57:29 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. build.gradle.kts

        signature(rootProject.libs.codehaus.signature.java18) { artifact { type = "signature" } }
      }
    
      tasks.withType<KotlinCompile> {
        kotlinOptions {
          jvmTarget = JavaVersion.VERSION_1_8.toString()
          freeCompilerArgs = listOf(
            "-Xjvm-default=all",
          )
        }
      }
    
      val platform = System.getProperty("okhttp.platform", "jdk9")
      val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 18 01:32:42 UTC 2024
    - 8.9K bytes
    - Viewed (1)
  5. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    > Kotlin compiler arguments of task ':compileKotlin' do not work for the `kotlin-dsl` plugin. The 'freeCompilerArgs' property has been reassigned. It must instead be appended to. Please use 'freeCompilerArgs.addAll(\"your\", \"args\")' to fix this.
    ----
    
    You must change this to adding your custom compiler arguments to the lazy configuration properties of the Kotlin Gradle Plugin in order for them to be appended to the ones required by the `kotlin-dsl` plugin:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
Back to top