Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for fromFile (0.03 sec)

  1. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

        components {
            withModule<CodeNarcRule>("org.codenarc:CodeNarc") {
                params(groovyVersion)
            }
        }
    }
    
    fun configFile(fileName: String) = resources.text.fromFile(rules.asFileTree.filter { it.name == fileName })
    
    checkstyle {
        toolVersion = "10.25.0"
        config = configFile("checkstyle.xml")
        val projectDirectory = layout.projectDirectory
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Oct 01 11:57:43 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

            tasks.register("checkstyleApi", Checkstyle.class, task -> {
                task.source(extension.getDocumentedSource());
                // TODO: This is ugly
                task.setConfig(project.getResources().getText().fromFile(checkstyle.getConfigDirectory().file("checkstyle-api.xml")));
                task.setClasspath(layout.files());
                task.getReports().getXml().getOutputLocation().set(new File(checkstyle.getReportsDir(), "checkstyle-api.xml"));
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 02 14:18:24 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top