Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for JavaCompile (0.2 sec)

  1. build-logic/jvm/src/main/kotlin/gradlebuild/jvm/extension/StrictCompileExtension.kt

    import org.gradle.api.tasks.TaskContainer
    import org.gradle.api.tasks.compile.JavaCompile
    import org.gradle.kotlin.dsl.*
    
    
    /**
     * Strict compilation options honored by [gradlebuild.Strict_compile_gradle].
     */
    abstract class StrictCompileExtension(val tasks: TaskContainer) {
    
        fun ignoreDeprecations() {
            tasks.withType<JavaCompile>().configureEach {
                options.compilerArgs.add("-Xlint:-deprecation")
            }
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Thu Feb 22 11:17:19 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  2. build-logic/jvm/src/main/kotlin/gradlebuild/jvm/extension/UnitTestAndCompileExtension.kt

     * limitations under the License.
     */
    
    package gradlebuild.jvm.extension
    
    import org.gradle.api.Project
    import org.gradle.api.tasks.TaskContainer
    import org.gradle.api.tasks.compile.JavaCompile
    import org.gradle.kotlin.dsl.*
    
    
    abstract class UnitTestAndCompileExtension(
        private val project: Project,
        private val tasks: TaskContainer,
    ) {
    
        /**
         * Enforces **Java 6** compatibility.
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Jun 20 08:55:37 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  3. build-logic/jvm/src/main/kotlin/gradlebuild.strict-compile.gradle.kts

    extensions.create<StrictCompileExtension>("strictCompile")
    
    val strictCompilerArgs = listOf("-Werror", "-Xlint:all", "-Xlint:-options", "-Xlint:-serial", "-Xlint:-classfile", "-Xlint:-try")
    
    tasks.withType<JavaCompile>().configureEach {
        // Generated classes may not adhere to the strict no-warning policy that we apply to handwritten code
        // For example, external JMH plugin generates code that produces compiler warnings
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Fri Dec 15 20:21:31 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  4. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

    tasks.registerCITestDistributionLifecycleTasks()
    
    fun configureCompile() {
        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"
    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)
  5. build-logic/jvm/src/main/kotlin/gradlebuild.api-parameter-names-index.gradle.kts

            main.allJava.matching {
                include(PublicApi.includes)
                exclude(PublicApi.excludes)
            }
        )
        classpath.from(main.compileClasspath)
        classpath.from(tasks.named<JavaCompile>("compileJava"))
        classpath.from(tasks.named<GroovyCompile>("compileGroovy"))
        destinationFile = project.layout.buildDirectory.file(
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Fri Jan 20 15:24:40 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

            )
    
            project.tasks.named<JavaCompile>(this.compileJavaTaskName) {
                options.errorprone {
                    isEnabled = extension.enabled
                    checks.set(errorproneExtension.disabledChecks.map {
                        it.associateWith { CheckSeverity.OFF }
                    })
                }
            }
        }
    }
    
    tasks.withType<JavaCompile>().configureEach {
        options.errorprone {
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Jan 30 10:26:21 GMT 2024
    - 6K bytes
    - Viewed (0)
  7. .github/workflows/codeql-analysis.init.gradle

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    allprojects {
        tasks.withType(JavaCompile).configureEach {
            outputs.doNotCacheIf("CodeQL scanning", { true })
        }
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Sat Oct 10 05:36:54 GMT 2020
    - 745 bytes
    - Viewed (0)
  8. build.gradle.kts

      if (project.name == "container-tests") return@subprojects
    
      apply(plugin = "checkstyle")
      apply(plugin = "ru.vyarus.animalsniffer")
      apply(plugin = "biz.aQute.bnd.builder")
    
      tasks.withType<JavaCompile> {
        options.encoding = Charsets.UTF_8.toString()
      }
    
      configure<JavaPluginExtension> {
        toolchain {
          languageVersion.set(JavaLanguageVersion.of(17))
        }
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 18 01:32:42 GMT 2024
    - 8.9K bytes
    - Viewed (0)
Back to top