- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for IllegalArgumentException (0.3 sec)
-
build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts
queue.addAll(rootDependencies) while (queue.isNotEmpty()) { val dependency = when (val result = queue.removeFirst()) { is ResolvedDependencyResult -> result else -> throw IllegalArgumentException("Expected ResolvedDependencyResult") } if (dependency.isConstraint) { continue } val to = dependency.resolvedVariant
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Mar 28 20:26:58 GMT 2024 - 4.3K bytes - Viewed (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon Jan 08 12:45:57 GMT 2024 - 4.4K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt
buildScanTags = listOf("Check"), subprojects = JsonBasedGradleSubprojectProvider(File("./subprojects.json")) ) val testClassDataJson = File(System.getProperty("inputTestClassDataJson") ?: throw IllegalArgumentException("Input file not found!")) val generatedBucketsJson = File(System.getProperty("outputBucketSplitJson", "./test-buckets.json")) FunctionalTestBucketGenerator(model, testClassDataJson).generate(generatedBucketsJson)
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Thu Feb 15 17:04:41 GMT 2024 - 8.5K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt
} else -> line } }.toByteArray(StandardCharsets.UTF_8)) if (replacementsCount != 1) { throw IllegalArgumentException("The script file produced by the default start script doesn't match expected layout") } } private
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/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Jun 07 08:20:38 GMT 2023 - 4.6K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/AndroidStudioSystemProperties.kt
return "-Dstudio.home=$androidStudioPath" } else if (androidStudioHome.isPresent) { return "-Dstudio.home=${androidStudioHome.get()}" } throw IllegalArgumentException("Android Studio home must be provided via the 'studioHome' system property, or auto downloading must be enabled via `autoDownloadAndroidStudio=true` gradle property, system property, or environment variable") }
Plain Text - Registered: Wed Mar 27 11:36:08 GMT 2024 - Last Modified: Tue Feb 20 09:51:32 GMT 2024 - 2.9K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/bucket-extensions.kt
largeElementSplitFunction: (T, Int) -> List<R>, smallElementAggregateFunction: (List<T>) -> R, expectedBucketNumber: Int, maxNumberInBucket: Int, noElementSplitFunction: (Int) -> List<R> = { throw IllegalArgumentException("More buckets than things to split") }, canRunTogether: (T, T) -> Boolean = { _, _ -> true } ): List<R> { if (list.isEmpty()) { return noElementSplitFunction(expectedBucketNumber) }
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Thu Nov 17 05:17:44 GMT 2022 - 4K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild/propagated-env-variables.kt
fun Test.filterEnvironmentVariables() { environment = makePropagatedEnvironment() environment.forEach { (key, _) -> if (credentialsKeywords.any { key.contains(it, true) }) { throw IllegalArgumentException("Found sensitive data in filtered environment variables: $key") } } } private fun makePropagatedEnvironment(): Map<String, String?> { val result = HashMap<String, String?>()
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Tue Apr 18 01:52:16 GMT 2023 - 3.7K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginEntries.kt
val implementationClass = pluginProperties.getProperty("implementation-class") PluginEntry(id, implementationClass) }.toList() } } catch (cause: IOException) { throw IllegalArgumentException( "Failed to extract plugin metadata from '" + jar.path + "'", cause ) } private fun isGradlePluginPropertiesFile(entry: JarEntry) = entry.run {
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Sat Sep 30 16:17:27 GMT 2023 - 1.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/XslTransformer.java
import java.io.IOException; public class XslTransformer { public static void main(String[] args) throws TransformerException, IOException { if (args.length < 3 || args.length > 4) { throw new IllegalArgumentException("USAGE: <style-sheet> <source-file> <dest-file> [dest-dir]"); } File stylesheet = new File(args[0]); File source = new File(args[1]); File dest = new File(args[2]);
Java - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Oct 05 19:36:14 GMT 2023 - 2.2K bytes - Viewed (0)