Skip to content

Commit

Permalink
Add Gradle plugin for publishing JavaDoc to GitHub Pages (#965)
Browse files Browse the repository at this point in the history
  • Loading branch information
ob-stripe authored Feb 11, 2020
1 parent e91e6c5 commit 5ad6fda
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ plugins {
id "net.ltgt.errorprone" version "1.1.1"
id "com.github.kt3k.coveralls" version "2.8.4"
id "biz.aQute.bnd.builder" version "4.2.0"
id "org.ajoberstar.git-publish" version "3.0.0-rc.1"
}

sourceCompatibility = 1.8
Expand Down Expand Up @@ -145,3 +146,15 @@ jacocoTestReport {
coveralls {
jacocoReportPath "build/reports/jacoco/test/jacocoTestReport.xml"
}

gitPublish {
repoUri = '[email protected]:stripe/stripe-java.git'
branch = 'gh-pages'
sign = false // disable commit signing

contents {
from(javadoc) {
into '.'
}
}
}

0 comments on commit 5ad6fda

Please sign in to comment.