Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for strict (0.31 sec)

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

    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
        if (!name.contains("CompileGeneratedClasses")) {
    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)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-compiler-configuration.kt

                analysisFlags = mapOf(
                    JvmAnalysisFlags.javaTypeEnhancementState to JavaTypeEnhancementState(
                        Jsr305Settings(ReportLevel.STRICT, ReportLevel.STRICT)
                    ) { ReportLevel.STRICT },
                )
            )
        )
    
        put(JVMConfigurationKeys.SAM_CONVERSIONS, JvmClosureGenerationScheme.CLASS)
        put(JVMConfigurationKeys.PARAMETERS_METADATA, true)
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Oct 26 19:59:57 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  3. build-logic/jvm/src/main/kotlin/gradlebuild/jvm/extension/StrictCompileExtension.kt

     */
    package gradlebuild.jvm.extension
    
    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 {
    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)
  4. .teamcity/src/main/kotlin/configurations/DocsTest.kt

    import jetbrains.buildServer.configs.kotlin.Project
    import jetbrains.buildServer.configs.kotlin.buildSteps.script
    import model.CIBuildModel
    import model.Stage
    
    enum class TestSplitType(val action: String) {
        INCLUDE("include"), EXCLUDE("exclude")
    }
    
    fun prepareTestClassesStep(os: Os, type: TestSplitType, testClasses: List<String>): BuildSteps.() -> Unit {
        val action = type.action
        val unixScript = """
    mkdir -p test-splits
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  5. .github/workflows/CheckBadMerge.groovy

         */
        static boolean isBadFileInMergeCommit(String filePath, String mergeCommit, String masterCommit, String releaseCommit) {
            try {
                List<String> mergeCommitFileLines = showFileOnCommit(mergeCommit, filePath).readLines()
                List<String> masterCommitFileLines = showFileOnCommit(masterCommit, filePath).readLines()
                List<String> releaseCommitFileLines = showFileOnCommit(releaseCommit, filePath).readLines()
    Groovy
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 10:35:44 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

            for (File jquery : this.jqueryFiles) {
                appendFileContentsTo(document.head(), "<script type='text/javascript'>", jquery, "</script>");
            }
            appendFileContentsTo(document.head(), "<script type='text/javascript'>", releaseNotesJavascript, "</script>");
        }
    
        private void addCssToHead(Document document) {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 25 04:49:56 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. .github/workflows/contributor-pr.yml

          - name: setup java
            uses: actions/setup-java@v4
            with:
              distribution: temurin
              java-version: 11
          - id: determine-sys-prop-args
            uses: actions/github-script@v7
            with:
              script: |
                if (context.payload.pull_request && context.payload.pull_request.head.repo.fork) {
                    core.setOutput('sys-prop-args', '-DagreePublicBuildScanTermOfService=yes -DcacheNode=us')
    Others
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu May 02 09:13:16 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  8. .github/workflows/pull-metadata.yml

          # Check that PRs have proper metadata: labels and milestone
          # https://github.com/gradle/issue-management-action/blob/main/src/pull-metadata.ts
          - uses: gradle/issue-management-action@v1
            with:
    Others
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu May 02 09:13:16 GMT 2024
    - 477 bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleReleaseNotesPlugin.java

                task.getJquery().from(extension.getReleaseNotes().getJquery());
    
                ModuleIdentityExtension moduleIdentity = project.getExtensions().getByType(ModuleIdentityExtension.class);
                MapProperty<String, String> replacementTokens = task.getReplacementTokens();
                replacementTokens.put("version", moduleIdentity.getVersion().map(GradleVersion::getVersion));
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Mar 10 11:32:18 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  10. build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt

        )
    
        /**
         * Modifies the start script injecting -javaagent flags. The start script file is updated in-place by appending Java agent switches to 'DEFAULT_JVM_OPTS' variable declaration.
         */
        private
        fun File.injectAgentOptions(separator: String) {
            if (agentJarNames.isEmpty()) {
                return
            }
            var replacementsCount = 0
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Fri Feb 24 10:25:27 GMT 2023
    - 6.3K bytes
    - Viewed (0)
Back to top