Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for unsafe (0.19 sec)

  1. build-logic/jvm/src/main/kotlin/gradlebuild.launchable-jar.gradle.kts

        configureAsJarClasspath()
    }
    
    fun Configuration.configureAsJarClasspath() {
        isCanBeResolved = true
        isCanBeConsumed = false
    
        attributes {
            attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage.JAVA_RUNTIME))
            attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.LIBRARY))
            attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements.JAR))
        }
    }
    
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Feb 28 23:38:57 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java

            Configuration sourcesPath = project.getConfigurations().create("sourcesPath");
            sourcesPath.attributes(a -> {
                a.attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage.class, Usage.JAVA_RUNTIME));
                a.attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.class, Category.DOCUMENTATION));
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 17 20:04:00 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/promotion/BasePromotionBuildType.kt

                password("env.ORG_GRADLE_PROJECT_botGradleGitHubToken", "%github.bot-gradle.token%")
            }
    
            features {
                // https://www.jetbrains.com/help/teamcity/shared-resources.html#Viewing+Shared+Resources+Usage
                // https://blog.jetbrains.com/teamcity/2013/05/explaining-the-shared-resources-plugin/
                // we only allow 1 promotion job running at the same time to avoid website xml conflicts
                feature {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 03:34:53 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  4. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/unsafeLazy.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.kotlin.dsl.internal.sharedruntime.support
    
    
    /**
     * Thread unsafe version of [lazy].
     *
     * @see LazyThreadSafetyMode.NONE
     */
    internal
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sun Oct 01 11:18:48 GMT 2023
    - 867 bytes
    - Viewed (0)
  5. .github/workflows/CheckBadMerge.groovy

     * e.g https://github.com/gradle/gradle/pull/25825
     *
     * This script is to check if there is any merge commit that brings changes from release branch to master.
     * Usage: groovy CheckBadMerge.groovy <commit1> <commit2> ...
     * If any "bad" merge commit is found, it will print the details and exit with non-zero code.
     */
    class CheckBadMerge {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 10:35:44 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/40_contributor_documentation.yml

          value: |
            Please search related information in our [latest documentation](https://docs.gradle.org/current/userguide/userguide.html) before opening a documentation issue.
            If you need help with Gradle or have a usage question, please reach [our community](http://help.gradle.org/) instead of creating an issue.
    
            If you found a clear typo, please open a PR with a fix instead of opening an issue.
    
      - type: dropdown
        id: issue-type
    Others
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 15 10:01:01 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  7. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt

    fun scriptsCacheDirsUnder(cacheDir: File) =
        scriptCacheDirNames
            .map { File(cacheDir, it) }
            .filter { it.isDirectory }
    
    
    /**
     * Clean up cache files for older versions that aren't multi-process safe.
     */
    fun FileSystemOperations.removeDodgyCacheFiles(dir: Directory) {
        if (dir.asFile.isDirectory) {
            for (cacheDir in dir.asFile.listFiles()) {
                if (!cacheDir.name.matches(dirVersionPattern)) {
    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)
  8. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

    }
    
    
    private
    fun Project.resolver(name: String, libraryElements: String, extends: Configuration? = null) = configurations.create(name) {
        attributes {
            attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage.JAVA_RUNTIME))
            attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.LIBRARY))
            attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(libraryElements))
        }
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

    import java.util.LinkedList
    
    const val MASTER_CHECK_CONFIGURATION = "Gradle_Master_Check"
    const val MAX_PROJECT_NUMBER_IN_BUCKET = 11
    
    /**
     * Process test-class-data.json and generates test-buckets.json
     *
     * Usage: `mvn compile exec:java@update-test-buckets -DinputTestClassDataJson=/path/to/test-class-data.json`.
     * You can get the JSON file as an artifacts of the "autoUpdateTestSplitJsonOnGradleMaster" pipeline in TeamCity.
     */
    fun main() {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Feb 15 17:04:41 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  10. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

        val variance: Variance = Variance.INVARIANT,
        val typeArguments: List<ApiTypeUsage> = emptyList(),
        val bounds: List<ApiTypeUsage> = emptyList()
    ) {
        /**
         * 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 {
    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)
Back to top