Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of about 10,000 for grad_b (0.2 sec)

  1. platforms/documentation/docs/src/snippets/java-feature-variant/incompatible-variants/groovy/consumer/build.gradle

        runtimeOnly(project(":producer")) {
            capabilities {
                requireCapability("org.gradle.demo:producer-mysql-support")
            }
        }
        runtimeOnly(project(":producer")) {
            capabilities {
                requireCapability("org.gradle.demo:producer-postgres-support")
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 534 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/buildlifecycle/projectEvaluateEvents/groovy/build.gradle

    // tag::after-evaluate[]
    gradle.beforeProject { project ->
        project.ext.set("hasTests", false)
    }
    
    gradle.afterProject { project ->
        if (project.ext.has("hasTests") && project.ext.get("hasTests") as Boolean) {
            def projectString = project.toString()
            println "Adding test task to $projectString"
            project.task('test') {
                doLast {
                    println "Running tests for $projectString"
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 483 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/samples/java/modules-with-transform/groovy/buildSrc/build.gradle

    plugins {
        id 'java-gradle-plugin' // so we can assign and ID to our plugin
    }
    
    dependencies {
        implementation 'org.ow2.asm:asm:8.0.1'
    }
    
    repositories {
        mavenCentral()
    }
    
    gradlePlugin {
        plugins {
            // here we register our plugin with an ID
            register("extra-java-module-info") {
                id = "extra-java-module-info"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 462 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/tasks/incrementalBuild-incrementalBuildAdvanced/groovy/build.gradle

    }
    // end::disable-up-to-date-checks[]
    
    // tag::git-clone[]
    tasks.register("cloneGradleProfiler", GitClone) {
        destinationDir = layout.buildDirectory.dir("gradle-profiler") // <3>
        remoteUri = "https://github.com/gradle/gradle-profiler.git"
        commitId = "d6c18a21ca6c45fd8a9db321de4478948bdf801b"
    }
    // end::git-clone[]
    
    tasks.named('build') {
        dependsOn 'processTemplates', 'processTemplates2'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. subprojects/diagnostics/src/integTest/resources/org/gradle/api/tasks/diagnostics/HelpTaskIntegrationTest/listsCommonDynamicAvailableValues/build.gradle

    import org.gradle.api.tasks.options.Option
    import org.gradle.api.tasks.options.OptionValues
    
    subprojects{
        task hello(type: CustomTask)
    }
    
    class CustomTask extends DefaultTask {
        @TaskAction
        void doSomething() {
        }
    
        @Option(option = "stringValue", description = "Configures a string value in CustomTask.")
        public void setStringValue(String value) {
        }
    
        @OptionValues("stringValue")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 16 16:41:46 UTC 2018
    - 531 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/valueProviders/envVarsSysPropsDoValueSource/groovy/build.gradle

    import org.gradle.api.provider.ValueSource
    import org.gradle.api.provider.ValueSourceParameters
    
    // tag::value-source[]
    abstract class EnvVarsWithSubstringValueSource implements ValueSource<Map<String, String>, Parameters> {
        interface Parameters extends ValueSourceParameters {
            Property<String> getSubstring()
        }
    
        Map<String, String> obtain() {
            return System.getenv().findAll { key, _ ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 694 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/tutorial/systemProperties/groovy/build.gradle

    // tag::system-properties[]
    // Using the Java API
    println System.getProperty('system')
    
    // Using the Gradle API, provides a lazy Provider<String>
    println providers.systemProperty('system').get()
    // end::system-properties[]
    
    abstract class PrintValue extends DefaultTask {
        @Input abstract Property<String> getInputValue()
        @TaskAction void action() { println(inputValue.get()) }
    }
    
    // tag::system-properties-task-inputs[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 652 bytes
    - Viewed (0)
  8. platforms/enterprise/enterprise-plugin-performance/src/templates/root/build.gradle

     * limitations under the License.
     */
    
    // We want to double check that a build failure is
    // only caused by failing test executions
    gradle.buildFinished { result ->
        buildDir.mkdirs()
        if(result.failure) {
            def unexpectedFailure = (result.failure instanceof org.gradle.execution.MultipleBuildFailures && result.failure.causes.every { cause ->
                def failureMessage = cause?.cause?.cause?.message
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:38:06 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. platforms/ide/ide-plugins/src/integTest/resources/org/gradle/plugins/ide/eclipse/EclipseIntegrationTest/canCreateAndDeleteMetaData/build.gradle

     * limitations under the License.
     */
    
    allprojects {
        apply plugin: 'eclipse'
    
        group = 'org.gradle'
    
        plugins.withType(JavaBasePlugin) {
            java.sourceCompatibility = 1.5
        }
    }
    
    subprojects {
        repositories {
            mavenCentral()
        }
    
        group = 'org.gradle'
        version = '1.0'
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/buildship.gradle

            def packageExports = getPackageExports(packageNames, bundleVersion)
         """Manifest-Version: 1.0
    Bundle-ManifestVersion: 2
    Bundle-Name: Gradle Tooling API
    Bundle-Vendor: Gradle Inc.
    Bundle-SymbolicName: org.gradle.toolingapi
    Bundle-Version: ${bundleVersion}.v${qualifier}
    Bundle-ClassPath: .
    Bundle-RequiredExecutionEnvironment: JavaSE-1.6
    Export-Package: ${packageExports}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.5K bytes
    - Viewed (0)
Back to top