Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 386 for dependsOn (0.18 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java

                task.getPort().convention(webserverPort);
    
                task.dependsOn(extension.getRenderedDocumentation());
            });
    
            tasks.register("docs", task -> {
                task.setDescription("Generates all documentation");
                task.setGroup("documentation");
                task.dependsOn(extension.getRenderedDocumentation());
            });
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 17 20:04:00 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.kotlin-dsl-gradle-plugin.gradle.kts

        }
    }
    
    detekt {
        // overwrite the config file's location
        config.convention(project.isolated.rootProject.projectDirectory.file("../gradle/detekt.yml"))
    }
    
    tasks.named("codeQuality") {
        dependsOn("detekt")
    }
    
    tasks.validatePlugins {
        failOnWarning = true
        enableStricterValidation = true
    }
    
    tasks.withType<Test>().configureEach {
        useJUnitPlatform()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. build-logic/buildquality/src/main/kotlin/gradlebuild.arch-test.gradle.kts

                                predictiveTestSelection.enabled = false
                            }
                        }
                    }
                }
            }
        }
    }
    
    tasks.codeQuality.configure {
        dependsOn(testing.suites.named("archTest"))
    }
    
    fun notForAccessorGeneration(runnable: Runnable) {
        if (project.name != "gradle-kotlin-dsl-accessors" && project.name != "test") {
            runnable.run()
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jul 03 16:00:02 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. build-logic/buildquality/src/main/kotlin/gradlebuild.incubation-report.gradle.kts

    }
    
    plugins.withId("org.jetbrains.kotlin.jvm") {
        reportTask {
            sources.from(kotlinMainSourceSet.sourceDirectories)
        }
    }
    
    tasks.named("check") { dependsOn(reportTask) }
    
    consumableVariant("txt", reportTask.flatMap { it.textReportFile })
    consumableVariant("html", reportTask.flatMap { it.htmlReportFile })
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Feb 12 13:19:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.private-javadoc.gradle.kts

    // This does not configure the public Javadoc published to the website
    
    pluginManager.withPlugin("gradlebuild.code-quality") {
        tasks {
            named("codeQuality") {
                dependsOn(tasks.withType<Javadoc>())
            }
        }
    }
    
    tasks.withType<Javadoc>().configureEach {
        assert(name != "javadocAll") // This plugin should not be applied to the :docs project.
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle

            project.isolated.rootProject.projectDirectory,
            currentUpgradedPropertiesFile.get().asFile,
            baselineUpgradedPropertiesFile.get().asFile
        )
    }
    tasks.named("check").configure { dependsOn(checkBinaryCompatibility) }
    
    tasks.register("cleanAcceptedApiChanges", CleanAcceptedApiChanges) {
        description = 'Cleans up all existing accepted API changes.'
        jsonFileDirectory = apiChangesJsonDirectory
    }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 26 08:15:16 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/common/extensions.kt

            "--no-configuration-cache",
            "%additional.gradle.parameters%",
            if (daemon) "--daemon" else "--no-daemon",
            if (isContinue) "--continue" else ""
        )
    
    fun Dependencies.dependsOn(buildTypeId: RelativeId) {
        dependency(buildTypeId) {
            snapshot {
                onDependencyFailure = FailureAction.FAIL_TO_START
                onDependencyCancel = FailureAction.FAIL_TO_START
            }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 10 03:25:26 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. okhttp/build.gradle.kts

    val copyOsgiTestDeployment by tasks.creating(Copy::class.java) {
      from(osgiTestDeploy)
      into("$buildDir/resources/test/okhttp3/osgi/deployments")
    }
    tasks.getByName("test") {
      dependsOn(copyOsgiTestDeployment)
    }
    
    dependencies {
      api(libs.squareup.okio)
      api(libs.kotlin.stdlib)
    
      // These compileOnly dependencies must also be listed in the OSGi configuration above.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 04 05:32:07 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                            baselineUpgradedProperties = oldUpgradedPropertiesFile
                        }
    
                        tasks.register<JapicmpTask>("checkBinaryCompatibility") {
    
                            dependsOn(":v1:jar", ":v2:jar")
                            inputs.files(extractGradleApiInfo)
    
                            oldArchives.from(v1Jar)
                            oldClasspath.from(v1.configurations.named("runtimeClasspath"), v1Jar)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. docs_src/sql_databases_peewee/sql_app/main.py

    
    def get_db(db_state=Depends(reset_db_state)):
        try:
            database.db.connect()
            yield
        finally:
            if not database.db.is_closed():
                database.db.close()
    
    
    @app.post("/users/", response_model=schemas.User, dependencies=[Depends(get_db)])
    def create_user(user: schemas.UserCreate):
        db_user = crud.get_user_by_email(email=user.email)
        if db_user:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 2.2K bytes
    - Viewed (0)
Back to top