Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ThrowsCount (0.29 sec)

  1. build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-defaults.gradle.kts

        this.onlyIf { !noUpload.map { it == "true" }.orElse(false).get() }
        if (name.endsWith("ToRemoteRepository")) {
            failEarlyIfUrlOrCredentialsAreNotSet(this)
        }
    }
    
    @Suppress("ThrowsCount")
    fun Project.failEarlyIfUrlOrCredentialsAreNotSet(publish: Task) {
        gradle.taskGraph.whenReady {
            if (hasTask(publish)) {
                if (artifactoryUrl.isEmpty()) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Sep 25 08:20:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top