Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for IllegalArgumentException (0.24 sec)

  1. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt

                    continue
                }
    
                val cacheVersion =
                    try {
                        GradleVersion.version(dirVersion)
                    } catch (e: IllegalArgumentException) {
                        // Ignore
                        continue
                    }
    
                if (shouldDelete(cacheVersion)) {
                    logger.lifecycle("Removing old cache directory : $cacheDir")
    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)
  2. 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)
  3. .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)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt

                is CtConstructor ->
                    if (parameterTypes.isEmpty()) "$name$signature"
                    else "<init>$signature"
                is CtMethod -> "$name$signature"
                else -> throw IllegalArgumentException("Unsupported javassist member type '${this::class}'")
            }
    }
    
    
    internal
    enum class MemberType {
        TYPE, CONSTRUCTOR, FIELD, METHOD
    }
    
    
    private
    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)
  5. 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)
  6. .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)
  7. .teamcity/src/main/kotlin/configurations/FunctionalTest.kt

                    TeamCityParallelTests::class.simpleName -> TeamCityParallelTests(methodJsonObject.getIntValue("numberOfBatches"))
                    else -> throw IllegalArgumentException("Unknown parallelization method")
                }
            }
        }
    }
    
    class FunctionalTest(
        model: CIBuildModel,
        id: String,
        name: String,
        description: String,
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 09 16:49:31 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

        val durationsPerTestProject = projectDurations.groupBy({ it.testProject }, { it.scenarioDurations })
        durationsPerTestProject.forEach { (key, value) -> if (value.size != 1) throw IllegalArgumentException("More than one scenario split for test project $key: $projectDurations") }
        return durationsPerTestProject
            .mapValues { (_, durations) -> durations.flatten().map { it.scenario } }
    }
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Feb 19 11:22:56 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

        closeEntry()
    }
    
    
    fun File.getClassSuperTypes(): Set<String> {
        if (!path.endsWith(".class")) {
            throw IllegalArgumentException("Not a class file: $path")
        }
        inputStream().use {
            val reader = ClassReader(it)
            return setOf(reader.superName) + reader.interfaces
        }
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 6.6K bytes
    - Viewed (0)
Back to top