Skip to content

Commit

Permalink
Updating example plugin to use 1.2 snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasbjerre committed Nov 16, 2015
1 parent 69146dc commit 76ebb6f
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 10 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,17 @@
Changelog of Git Changelog.

## Next release
### Jira

Changing release instructions.

* There is currently a bug in Gradle release plugin plugin that requires the keys to be passed as parameters instead of gradle.properties.

## 1.1
### Other changes

Adding plugin plugin

doc

## 1.0
Expand Down
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@ This is a Gradle plugin for [Git Changelog](https://github.com/tomasbjerre/git-c
Here is and example that will produce a CHANGELOG.md. There is also a complete running example [here](https://github.com/tomasbjerre/git-changelog-gradle-plugin/tree/master/git-changelog-gradle-plugin-example).
```
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "se.bjurr.gitchangelog:git-changelog-gradle-plugin:1.0"
}
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.se.bjurr.gitchangelog:git-changelog-gradle-plugin:1.1"
}
}
apply plugin: 'git-changelog-gradle-plugin'
apply plugin: "se.bjurr.gitchangelog.git-changelog-gradle-plugin
task gitChangelogTask(type: se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask) {
gitChangelogPlugin.toRef = "refs/heads/master";
Expand Down
9 changes: 9 additions & 0 deletions git-changelog-gradle-plugin-example/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,17 @@
Changelog of Git Changelog.

## Next release
### Jira

Changing release instructions.

* There is currently a bug in Gradle release plugin plugin that requires the keys to be passed as parameters instead of gradle.properties.

## 1.1
### Other changes

Adding plugin plugin

doc

## 1.0
Expand Down
4 changes: 2 additions & 2 deletions git-changelog-gradle-plugin-example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ buildscript {
}

dependencies {
classpath "se.bjurr.gitchangelog:git-changelog-gradle-plugin:1.0-SNAPSHOT"
classpath "se.bjurr.gitchangelog:git-changelog-gradle-plugin:1.2-SNAPSHOT"
}
}

apply plugin: 'git-changelog-gradle-plugin'
apply plugin: 'se.bjurr.gitchangelog.git-changelog-gradle-plugin'

task gitChangelogTask(type: se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask) {
gitChangelogPlugin.toRef = "refs/heads/master";
Expand Down

0 comments on commit 76ebb6f

Please sign in to comment.