- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of about 10,000 for withID (0.35 sec)
-
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) -
platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/NonDeclarativePluginUseIntegrationSpec.groovy
when: buildScript """ $USE def ops = [] plugins.withId('$PLUGIN_ID') { ops << "withId 1" } plugins.withId("test-plugin-2") { ops << "withId 2" } def class1 = ${pluginBuilder.packageName}.TestPlugin def class2 = ${pluginBuilder2.packageName}.TestPlugin2
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 9K bytes - Viewed (0) -
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) -
subprojects/core/src/test/groovy/org/gradle/api/internal/catalog/parser/TomlCatalogFileParserTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 05:41:21 UTC 2024 - 16.6K bytes - Viewed (0) -
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) -
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) -
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) -
platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/CorePluginUseIntegrationSpec.groovy
when: buildScript """ plugins { id "$pluginId" } def i = 0 plugins.withId("$QUALIFIED_JAVA") { ++i } plugins.withId("$UNQUALIFIED_JAVA") { ++i } assert i == 2 assert plugins.getPlugin("$QUALIFIED_JAVA")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 5.9K bytes - Viewed (0) -
platforms/jvm/plugins-test-report-aggregation/src/main/java/org/gradle/api/plugins/TestReportAggregationPlugin.java
// prepare testReportDirectory with a reasonable default, but override with JavaPluginExtension#testReportDirectory if available project.getPlugins().withId("java-base", plugin -> { JavaPluginExtension javaPluginExtension = project.getExtensions().getByType(JavaPluginExtension.class);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 20:53:52 UTC 2023 - 6.5K bytes - Viewed (0) -
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)