- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 848 for buildsrc (0.31 sec)
-
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PrecompiledScriptPluginVersionCatalogIntegrationTest.kt
} } @Test fun `version catalogs from outer builds are not available as accessors`() { withKotlinBuildSrc() withSimpleVersionCatalog() withFile("buildSrc/src/main/kotlin/plugin-without-plugins.gradle.kts", "println(libs)") withFile( "buildSrc/src/main/kotlin/plugin-with-plugins.gradle.kts", """ plugins { id("base") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 08:15:18 UTC 2023 - 3.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInPluginIntegrationTest.groovy
snippetsFactory | file exec().groovy | "buildSrc/src/main/groovy/test-convention-plugin.gradle" javaexec().groovy | "buildSrc/src/main/groovy/test-convention-plugin.gradle" processBuilder().groovy | "buildSrc/src/main/groovy/test-convention-plugin.gradle" stringArrayExecute().groovy | "buildSrc/src/main/groovy/test-convention-plugin.gradle"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 6.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/compile/BuildScriptCompileAvoidanceIntegrationTest.kt
} @Test fun `avoids buildscript recompilation on resource file change in buildSrc`() { val className = givenJavaClassInBuildSrcContains( """ public void foo() { System.out.println("foo"); } """ ) withFile("buildSrc/src/main/resources/foo.txt", "foo") withUniqueScript("$className().foo()")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Sep 24 17:45:42 UTC 2023 - 19.6K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/ProjectSchemaLambdaAccessorsIntegrationTest.kt
@Test fun `accessors to __untyped__ groovy closures extensions are typed Any`() { withDefaultSettings() PluginBuilder(file("buildSrc")).apply { addPlugin( """ project.extensions.add("closureExtension", { String name -> name.toUpperCase() })
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Sep 24 17:45:43 UTC 2023 - 8.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiBuildActionIntegrationTest.groovy
model3[1].message == "It works from project :a" and: fixture.assertStateUpdated { fileChanged("build.gradle") projectConfigured(":buildSrc") modelsCreated(":") modelsReused(":a", ":b", ":buildSrc") } outputContains("creating model for root project 'root'") when: executer.withArguments(ENABLE_CLI)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 18.5K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/structuring/sharing_build_logic_between_subprojects.adoc
+ If you are developing custom Gradle plugins for your project, `buildSrc` is a convenient place to house the plugin code. This makes the plugins easily accessible within your project. The `buildSrc` directory is treated as an <<composite_builds.adoc#composite_build_intro,included build>>. For multi-project builds, there can be only one `buildSrc` directory, which must be in the root project directory.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 12:58:46 UTC 2024 - 11.7K bytes - Viewed (0) -
platforms/ide/ide/src/testFixtures/groovy/org/gradle/plugins/ide/fixtures/AbstractMultiBuildIdeIntegrationTest.groovy
@Issue("https://github.com/gradle/gradle/issues/5110") def "buildSrc project can apply IDE plugin"() { file("buildSrc/build.gradle") << """ apply plugin: '${pluginId}' """ expect: succeeds(":buildSrc:${workspaceTask}") def workspace = workspace(file("buildSrc"), "buildSrc") if (libraryPluginId == "java-library") {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildSrcChangesIntegrationTest.groovy
} def "invalidates cache upon change to #inputName used by buildSrc"() { assumeFalse( 'property from gradle.properties is not available to buildSrc', inputName == 'gradle.properties' ) given: def configurationCache = newConfigurationCacheFixture() file("buildSrc/build.gradle.kts").text = """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 4.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r60/ToolingApiPropertiesLoaderCrossVersionSpec.groovy
then: output.contains('system_property_available in buildSrc: true') output.contains('system_property_available in buildSrc: true') output.contains("project_property_available in buildSrc: ${projectPropertyAvailableInBuildSrc()}") output.contains('system_property_available in included buildSrc: true')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 5K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/readme-templates/multi-common-body.adoc.template
For this, we utilize so-called _convention plugins_ that are located in the `buildSrc` folder. Convention plugins in `buildSrc` are an easy way to utilise Gradle's plugin system to write reusable bits of build configuration. in this sample, we can find three such convention plugins that are based on each other: ==== include::sample[dir="kotlin",files="buildSrc/src/main/kotlin/buildlogic.${languageLC.raw}-common-conventions.gradle.kts[]"]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 08 11:21:22 UTC 2023 - 14.7K bytes - Viewed (0)