From 76ebb6f8015ca43f4a68af2ef6bcd9acbeb72e27 Mon Sep 17 00:00:00 2001 From: Tomas Bjerre Date: Mon, 16 Nov 2015 18:40:46 +0100 Subject: [PATCH] Updating example plugin to use 1.2 snapshot --- CHANGELOG.md | 9 +++++++++ README.md | 17 +++++++++-------- .../CHANGELOG.md | 9 +++++++++ .../build.gradle | 4 ++-- 4 files changed, 29 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b8a7af..9fc2e95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 7934299..8b29b51 100644 --- a/README.md +++ b/README.md @@ -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"; diff --git a/git-changelog-gradle-plugin-example/CHANGELOG.md b/git-changelog-gradle-plugin-example/CHANGELOG.md index 1b8a7af..9fc2e95 100644 --- a/git-changelog-gradle-plugin-example/CHANGELOG.md +++ b/git-changelog-gradle-plugin-example/CHANGELOG.md @@ -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 diff --git a/git-changelog-gradle-plugin-example/build.gradle b/git-changelog-gradle-plugin-example/build.gradle index a8d5860..ac24ab4 100644 --- a/git-changelog-gradle-plugin-example/build.gradle +++ b/git-changelog-gradle-plugin-example/build.gradle @@ -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";