Skip to content

Commit

Permalink
use github-pages plugin for publishing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
robfletcher committed Sep 24, 2012
1 parent 7f9f079 commit f524889
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion build.gradle
@@ -1,13 +1,15 @@
apply plugin: 'groovy'
apply plugin: 'codenarc'
apply plugin: 'nexus'
apply plugin: 'github-pages'

buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.gradle.api.plugins:gradle-nexus-plugin:0.2'
classpath 'org.ajoberstar:gradle-git:0.2.0'
}
}

Expand Down Expand Up @@ -88,4 +90,12 @@ nexus {

codenarc {
ignoreFailures = true
}
}

githubPages {
repoUri = 'git@github.com:robfletcher/betamax.git'
workingPath = "$buildDir/docs"
pages {
from 'src/docs'
}
}

0 comments on commit f524889

Please sign in to comment.