- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,019 for doTask (0.12 sec)
-
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/integtests/JavaCompileOnlyDependencyIntegrationTest.groovy
def expectedFiles = provider { [file('${normaliseFileSeparators(compileOnlyModule.artifactFile.path)}'), file('${normaliseFileSeparators(implementationModule.artifactFile.path)}')] as Set } doLast { assert compileClasspath.files == expectedFiles.get() } } task checkRuntimeClasspath { def runtimeClasspath = configurations.runtimeClasspath def expectedFiles = provider {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 22 20:01:36 UTC 2024 - 9.4K bytes - Viewed (0) -
platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperProjectIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:54:32 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/providers/services/groovy/build.gradle
import org.gradle.tooling.provider.model.ToolingModelBuilder plugins { id 'groovy' } repositories { mavenCentral() } // tag::object-factory[] tasks.register("myObjectFactoryTask") { doLast { def objectFactory = project.objects def myProperty = objectFactory.property(String) myProperty.set("Hello, Gradle!") println myProperty.get() } } // end::object-factory[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 18:14:15 UTC 2024 - 6.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tutorial/intro/kotlin/build.gradle.kts
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 179 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/providers/services/kotlin/build.gradle.kts
plugins { id("application") } repositories { mavenCentral() gradlePluginPortal() } // tag::object-factory[] tasks.register("myObjectFactoryTask") { doLast { val objectFactory = project.objects val myProperty = objectFactory.property(String::class) myProperty.set("Hello, Gradle!") println(myProperty.get()) } } // end::object-factory[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 18:14:15 UTC 2024 - 6.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/files/misc/kotlin/build.gradle.kts
val directory = file("images") doLast { Files.createDirectories(directory.toPath()) } } // end::mkdir-example[] // tag::move-example[] tasks.register("moveReports") { // Store the build directory into a variable to avoid project reference in the configuration cache val dir = buildDir doLast { ant.withGroovyBuilder {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 971 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tutorial/intro/groovy/build.gradle
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 180 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-selectionRule/groovy/build.gradle
} } dependencies { rejectConfig "org.sample:api:1.+" } // end::reject-version-1-1[] tasks.register('printRejectConfig') { FileCollection rejectConfig = configurations.rejectConfig doLast { rejectConfig.each { println "Resolved: ${it.name}" } } } // tag::component-selection-with-metadata[] configurations { metadataRulesConfig { resolutionStrategy {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 09 01:09:32 UTC 2024 - 4.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-selectionRule/kotlin/build.gradle.kts
} dependencies { "rejectConfig"("org.sample:api:1.+") } // end::reject-version-1-1[] tasks.register("printRejectConfig") { val rejectConfig: FileCollection = configurations["rejectConfig"] doLast { rejectConfig.forEach { println("Resolved: ${it.name}") } } } // tag::component-selection-with-metadata[] configurations { create("metadataRulesConfig") { resolutionStrategy {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 09 01:09:32 UTC 2024 - 4.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/modelRules/configureAsRequired/groovy/build.gradle
model { person(Person) { firstName = "John" } tasks { showPerson(Task) { def p = $.person doLast { println "Hello $p.firstName $p.lastName!" } } somethingElse(Task) { doLast { println "Not using person" } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 648 bytes - Viewed (0)