Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for JavaPluginExtension (0.12 sec)

  1. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/commons/JavaPluginExtensions.kt

     */
    package gradlebuild.commons
    
    import org.gradle.api.plugins.JavaPluginExtension
    import org.gradle.jvm.toolchain.JavaLanguageVersion
    import org.gradle.jvm.toolchain.JvmVendorSpec
    // Using star import to workaround https://youtrack.jetbrains.com/issue/KTIJ-24390
    import org.gradle.kotlin.dsl.*
    
    
    internal
    fun JavaPluginExtension.configureJavaToolChain() {
        toolchain {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 18:32:33 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. build-logic-commons/settings.gradle.kts

    include("publishing")
    
    rootProject.name = "build-logic-commons"
    
    // Make sure all the build-logic is compiled for the right Java version
    gradle.lifecycle.beforeProject {
        pluginManager.withPlugin("java-base") {
            the<JavaPluginExtension>().toolchain {
                // if you change this java version please also consider changing .idea/misc.xml#project/component(@project-jdk-name}
                // Also, there are a lot of other places this should be changed.
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Nov 06 06:19:29 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. build.gradle.kts

      apply(plugin = "biz.aQute.bnd.builder")
      apply(plugin = "io.github.usefulness.maven-sympathy")
    
      tasks.withType<JavaCompile> {
        options.encoding = Charsets.UTF_8.toString()
      }
    
      configure<JavaPluginExtension> {
        toolchain {
          languageVersion.set(JavaLanguageVersion.of(17))
        }
      }
    
      tasks.withType<Checkstyle>().configureEach {
        exclude("**/CipherSuite.java")
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jun 23 17:02:02 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top