Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for emptyCaches (0.12 sec)

  1. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepository.kt

                BinaryCompatibilityRepository(SourcesRepository(sourceRoots, compilationClasspath))
        }
    
        @VisibleForTesting
        fun emptyCaches() =
            sources.close()
    
        override fun close() =
            emptyCaches()
    
        fun isOverride(method: JApiMethod): Boolean =
            apiSourceFileFor(method).let { apiSourceFile ->
                when (apiSourceFile) {
    Registered: Wed Oct 30 11:36:09 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

                    }
                """
    
            then:
            rule.maybeViolation(jApiType).humanExplanation =~ 'Is not annotated with @since 11.38'
    
            when:
            repository.emptyCaches()
            sourceFile.text = apiElement == 'enum' ? """
                    /**
                     * @since 11.38
                     */
                    public enum $TEST_INTERFACE_SIMPLE_NAME {
                        field;
    Registered: Wed Oct 30 11:36:09 UTC 2024
    - Last Modified: Fri Dec 01 20:12:19 UTC 2023
    - 16K bytes
    - Viewed (0)
Back to top