Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of about 10,000 for withID (0.29 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/PluginDetectionIntegrationTest.groovy

        def "core plugins are detectable - applied by #appliedBy, detected by #detectedBy"() {
            buildFile << """
                def operations = []
                plugins.withId("$detectedBy") {
                    operations << 'withId for ' + it.class.simpleName
                }
                pluginManager.withPlugin("$detectedBy") {
                    // assert we are using our closure decoration and not closure coercion
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 18:26:28 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/buildCache/caching-android-projects/groovy/build.gradle

    plugins {
        id("org.jetbrains.kotlin.jvm") version "1.9.23"
        id("org.jetbrains.kotlin.kapt") version "1.9.23"
    }
    
    // tag::cacheKapt[]
    plugins.withId("kotlin-kapt") {
        kapt.useBuildCache = true
    }
    // end::cacheKapt[]
    
    // tag::fabricGroovy[]
    plugins.withId("com.android.application") { // or "com.android.library"
        android.buildTypes.debug.ext.enableCrashlytics = false
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 09:36:42 UTC 2024
    - 402 bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/catalog/parser/TomlCatalogFileParserTest.groovy

            }
            hasPlugin('with-rich2') {
                withId 'org.example'
                withVersion {
                    prefer '1.0'
                }
            }
            hasPlugin('with-rich3') {
                withId 'org.example'
                withVersion {
                    require '1.0'
                }
            }
            hasPlugin('with-rich4') {
                withId 'org.example'
                withVersion {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 05:41:21 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginContainerTest.groovy

            def plugin = container.apply("custom-plugin-with-injection")
            def executed = false
    
            then:
    
            container.withId("custom-plugin-with-injection", {
                assert it == plugin
                executed = true
            })
            executed
            container.getPlugin("custom-plugin-with-injection") == plugin
            container.hasPlugin("custom-plugin-with-injection")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. build-logic/buildquality/src/main/kotlin/gradlebuild.incubation-report.gradle.kts

        htmlReportFile = file(layout.buildDirectory.file("reports/incubation/${project.name}.html"))
        textReportFile = file(layout.buildDirectory.file("reports/incubation/${project.name}.txt"))
    }
    
    plugins.withId("org.jetbrains.kotlin.jvm") {
        reportTask {
            sources.from(kotlinMainSourceSet.sourceDirectories)
        }
    }
    
    tasks.named("check") { dependsOn(reportTask) }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 12 13:19:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. build.gradle.kts

      }
    }
    
    // Opt-in to @ExperimentalOkHttpApi everywhere.
    subprojects {
      plugins.withId("org.jetbrains.kotlin.jvm") {
        kotlinExtension.sourceSets.configureEach {
          languageSettings.optIn("okhttp3.ExperimentalOkHttpApi")
        }
      }
      plugins.withId("org.jetbrains.kotlin.android") {
        kotlinExtension.sourceSets.configureEach {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 18 01:32:42 UTC 2024
    - 8.9K bytes
    - Viewed (1)
  7. buildSrc/src/main/kotlin/Osgi.kt

    import org.gradle.kotlin.dsl.dependencies
    import org.gradle.kotlin.dsl.findByType
    import org.gradle.kotlin.dsl.get
    import org.gradle.kotlin.dsl.getByName
    
    fun Project.applyOsgi(vararg bndProperties: String) {
      plugins.withId("org.jetbrains.kotlin.jvm") {
        applyOsgi("jar", "osgiApi", bndProperties)
      }
    }
    
    private fun Project.applyOsgi(
      jarTaskName: String,
      osgiApiConfigurationName: String,
      bndProperties: Array<out String>,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/ScalaConcurrencyIntegrationTest.groovy

                allprojects {
                    tasks.withType(AbstractScalaCompile) {
                        options.fork = true
                    }
                    ${mavenCentralRepository()}
                    plugins.withId("scala") {
                        dependencies {
                            implementation 'org.scala-lang:scala-library:${ScalaCoverage.SCALA_2.last()}'
    
                            testImplementation 'junit:junit:4.12'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 16:10:12 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. build-logic/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts

    }
    
    configureJavadocVariant()
    
    publishing {
        publications {
            create<MavenPublication>("gradleDistribution") {
                configureGradleModulePublication()
            }
        }
    
        plugins.withId("gradlebuild.shaded-jar") {
            publishNormalizedToLocalRepository()
        }
    }
    
    val pgpSigningKey: Provider<String> = providers.environmentVariable("PGP_SIGNING_KEY")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 11:35:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. platforms/jvm/plugins-test-report-aggregation/src/integTest/groovy/org/gradle/api/plugins/TestReportAggregationPluginIntegrationTest.groovy

                    allprojects {
                        repositories {
                            ${mavenCentralRepository()}
                        }
                    }
                    subprojects {
                        plugins.withId('java') {
                            testing {
                                suites {
                                    test {
                                        useJUnit()
                                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 22.7K bytes
    - Viewed (0)
Back to top