Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import org.gradle.api.tasks.bundling.Jar
import org.gradle.kotlin.dsl.apply
import org.gradle.kotlin.dsl.configure
import org.gradle.plugins.signing.Sign
import org.jetbrains.dokka.gradle.AbstractDokkaLeafTask

const val GROUP = "com.rickbusarow.modulecheck"
const val PLUGIN_ID = "com.rickbusarow.module-check"
Expand Down Expand Up @@ -114,5 +115,16 @@ fun Project.configurePublishing(
}
tasks.withType(Sign::class.java).configureEach {
notCompatibleWithConfigurationCache("")
// skip signing for -LOCAL and -SNAPSHOT publishing
onlyIf {

!VERSION_NAME.endsWith("SNAPSHOT") && !VERSION_NAME.endsWith("LOCAL")
}
}
tasks.withType(AbstractDokkaLeafTask::class.java) {
// skip signing for -LOCAL publishing
onlyIf {
!VERSION_NAME.endsWith("LOCAL")
}
}
}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.