- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for IsEmpty (0.19 sec)
-
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/RichReportScrapper.kt
val errors: List<ReportMessage>, val warnings: List<ReportMessage>, val information: List<ReportMessage>, val accepted: List<ReportMessage> ) { val isEmpty: Boolean get() = errors.isEmpty() && warnings.isEmpty() && information.isEmpty() fun toText() = StringBuilder("Binary compatibility\n").apply {
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Sep 21 16:02:23 GMT 2023 - 2.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
} fun assertHasNoWarning() { assertTrue("Has no warning (${richReport.warnings})", richReport.warnings.isEmpty()) } fun assertHasNoInformation() { assertTrue("Has no information (${richReport.information})", richReport.information.isEmpty()) }
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon Sep 25 13:49:37 GMT 2023 - 16.4K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild/kotlin/tasks/ParameterNamesIndex.kt
@get:Inject internal abstract val classLoaderFactory: ClassLoaderFactory @TaskAction fun generate(): Unit = destinationFile.get().asFile.let { if (sources.isEmpty) it.writeText("") else generateParameterNamesResource(sources.files, classpath.files, it) } private
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt
*/ private fun File.injectAgentOptions(separator: String) { if (agentJarNames.isEmpty()) { return } var replacementsCount = 0 // readLines eats EOLs, so we need to use postfix to make sure the last line ends with EOL too.
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) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt
val matches: List<ResolvedComponentResult> = resolutionResult.allComponents.filter { it != resolutionResult.root } if (matches.isEmpty()) { throw GradleException("Could not locate any matches for $notation") } matches.forEach { dep -> dest[name] = (dep.id as ModuleComponentIdentifier).version } }
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Dec 19 11:19:07 GMT 2023 - 5K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt
) { /** * Type usage is raw if type has no type parameters or if usage has no type arguments. */ internal val isRaw: Boolean get() = type?.typeParameters?.isEmpty() != false || typeArguments.isEmpty() } enum class Variance { /** * Represent an invariant type argument. * e.g. `<T>` */ INVARIANT, /**
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Tue Feb 06 19:56:10 GMT 2024 - 20.8K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
* @param destZip the target zip file * @param srcFiles the mapping of relative path to the file */ private fun zip(destZip: File, srcFiles: List<Pair<String, File>>) { if (srcFiles.isEmpty()) { return } destZip.parentFile.mkdirs() ZipOutputStream(FileOutputStream(destZip), StandardCharsets.UTF_8).use { zipOutput ->
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Jul 28 16:19:47 GMT 2023 - 12.5K bytes - Viewed (0) -
.teamcity/src/test/kotlin/CIConfigIntegrationTests.kt
dir.listFiles { _: File, name: String -> name != "build" }!!.isNotEmpty() } assertFalse(subProjectFolders.isEmpty()) return subProjectFolders } @Test fun allSubprojectsAreListed() { val knownSubprojectDirs = model.subprojects.subprojects.map { File("../", it.path) }
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Tue Jan 02 10:00:06 GMT 2024 - 13.3K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt
get() = gradleProperty(MAX_TEST_DISTRIBUTION_LOCAL_EXECUTORS).orNull?.toInt() val Project.flakyTestStrategy: FlakyTestStrategy get() = gradleProperty(FLAKY_TEST).let { if (it.getOrElse("").isEmpty()) { return FlakyTestStrategy.INCLUDE } else { return FlakyTestStrategy.valueOf(it.get().toUpperCaseAsciiOnly()) } }
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Mon Jan 01 01:23:31 GMT 2024 - 16.2K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/DistributionTest.kt
include("**/*.pom") include("**/*.xml") include("**/*.module") } override fun asArguments() = if (!localRepo.isEmpty) mapOf("integTest.localRepository" to localRepo.singleFile).asSystemPropertyJvmArguments() else emptyList() @Internal override fun getName() = "libsRepository" }
Plain Text - Registered: Wed Mar 27 11:36:08 GMT 2024 - Last Modified: Fri Jul 01 22:53:59 GMT 2022 - 8K bytes - Viewed (0)