Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
TWiStErRob committed Jul 5, 2023
1 parent 3454b72 commit 8250fc7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ buildscript {
classpath 'net.ltgt.gradle:gradle-errorprone-plugin:3.1.0'

classpath "io.github.gradle-nexus:publish-plugin:1.3.0"
// TODO check if https://github.com/shipkit/shipkit-changelog/issues/103 is fixed, and remove workaround in shipkit.gradle.
classpath 'org.shipkit:shipkit-changelog:1.2.0'
classpath 'org.shipkit:shipkit-auto-version:1.2.2'

Expand Down
4 changes: 4 additions & 0 deletions gradle/shipkit.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ tasks.named('generateChangelog') {
previousRevision = project.ext.'shipkit-auto-version.previous-tag'
githubToken = System.getenv('GITHUB_TOKEN')
repository = 'mockito/mockito'
// Workarounds for https://github.com/shipkit/shipkit-changelog/issues/103
doNotTrackState("GenerateChangelogTask tracks the entire repo, which results is locking problems hashing the .gradle folder.")
// GenerateChangelogTask uses the entire repo as input, which means it needs to "depend on" all other tasks' outputs.
mustRunAfter(allprojects.collectMany { it.tasks }.grep { it.path != ":generateChangelog" && it.path != ":githubRelease" })
}

tasks.named("githubRelease") {
Expand Down

0 comments on commit 8250fc7

Please sign in to comment.