Skip to content

Commit

Permalink
Merge pull request #2163 from shestee/release/3.x
Browse files Browse the repository at this point in the history
Apply new Shipkit Changelog plugin properties
  • Loading branch information
mockitoguy committed Dec 31, 2020
2 parents 9126184 + 6ade10a commit 47d901e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ buildscript {
classpath 'net.ltgt.gradle:gradle-errorprone-plugin:1.3.0'

//Using buildscript.classpath so that we can resolve plugins from maven local, during local testing
classpath "org.shipkit:shipkit-auto-version:0.0.+"
classpath "org.shipkit:shipkit-changelog:0.0.+"
classpath "org.shipkit:shipkit-auto-version:0.+"
classpath "org.shipkit:shipkit-changelog:0.+"
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.+"

classpath 'com.google.googlejavaformat:google-java-format:1.9'
Expand Down
5 changes: 3 additions & 2 deletions gradle/shipkit.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apply plugin: "org.shipkit.shipkit-gh-release"

tasks.named("generateChangelog") {
previousRevision = project.ext.'shipkit-auto-version.previous-tag'
readOnlyToken = System.getenv("GITHUB_TOKEN")
githubToken = System.getenv("GITHUB_TOKEN")
repository = "mockito/mockito"
}

Expand All @@ -13,7 +13,8 @@ tasks.named("githubRelease") {
dependsOn genTask
repository = genTask.repository
changelog = genTask.outputFile
writeToken = System.getenv("GITHUB_TOKEN")
newTagRevision = System.getenv("GITHUB_SHA")
githubToken = System.getenv("GITHUB_TOKEN")
}

/**
Expand Down

0 comments on commit 47d901e

Please sign in to comment.