Skip to content

Commit

Permalink
introduction of a changelog file
Browse files Browse the repository at this point in the history
using git-changelog-gradle-plugin, a CHANGELOG.md file can now be
generated. Entering `gradle changelog` will update/generate the project
changelog file.

fixes #8
  • Loading branch information
McFoggy committed Sep 15, 2017
1 parent e5fc7fe commit 8bc4072
Show file tree
Hide file tree
Showing 4 changed files with 143 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ build
.project
.gradle/
.settings/
.okhttpcache/
93 changes: 93 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# jgitver gradle plugin

Changelog of [jgitver gradle plugin](https://github.com/jgitver/gradle-jgitver-plugin)

## 0.3.0
### GitHub [#5](https://github.com/jgitver/gradle-jgitver-plugin/issues/5) update to jgitver 0.4.0

**update jgitver dependency to 0.4.0**

* fixes #5

[164de0ec141e564](https://github.com/jgitver/gradle-jgitver-plugin/commit/164de0ec141e564) Matthieu Brouillard *2017-09-14 09:11:24*


### GitHub [#6](https://github.com/jgitver/gradle-jgitver-plugin/issues/6) expose jgitver metadatas

**expose jgitver metadatas as project extension properties**

* jgitver metadatas are accessible using the syntax 'project.ext.metadata' where metadata is a jgitver metadata name in lowercase
* for example 'project.ext.git_sha1_full'
* fixes #6

[e5fc7fe1c857001](https://github.com/jgitver/gradle-jgitver-plugin/commit/e5fc7fe1c857001) Matthieu Brouillard *2017-09-14 09:11:27*


### No issue

**update gradle version to 2.14.1**


[8f79de66c95add9](https://github.com/jgitver/gradle-jgitver-plugin/commit/8f79de66c95add9) Matthieu Brouillard *2017-09-14 09:11:26*

**switch to gradle-jgitver-plugin 0.2.0**


[6ea13e08703bcda](https://github.com/jgitver/gradle-jgitver-plugin/commit/6ea13e08703bcda) Matthieu Brouillard *2016-06-06 08:32:18*


## 0.2.0
### GitHub [#2](https://github.com/jgitver/gradle-jgitver-plugin/issues/2) expose configuration to control jgitver

**allow plugin configuration, closes #2**


[8555d675ea8d762](https://github.com/jgitver/gradle-jgitver-plugin/commit/8555d675ea8d762) Matthieu Brouillard *2016-06-03 13:16:33*


## 0.1.0
### GitHub [#1](https://github.com/jgitver/gradle-jgitver-plugin/issues/1) use gradle-jgitver-plugin inside gradle-jgitver-plugin

**use the plugin to build the plugin itself, closes #1**


[7c6a927daa050db](https://github.com/jgitver/gradle-jgitver-plugin/commit/7c6a927daa050db) Matthieu Brouillard *2016-04-27 15:09:50*


### No issue

**enhance release paragraph in README**


[2a762587653078e](https://github.com/jgitver/gradle-jgitver-plugin/commit/2a762587653078e) Matthieu Brouillard *2016-05-13 20:42:15*

**add a show version task to build.gradle & to README**


[c5c56f45f47ddeb](https://github.com/jgitver/gradle-jgitver-plugin/commit/c5c56f45f47ddeb) Matthieu Brouillard *2016-05-13 20:37:23*

**enhance readme with gradle 2.1 syntax**


[82d48a1f9709e01](https://github.com/jgitver/gradle-jgitver-plugin/commit/82d48a1f9709e01) Matthieu Brouillard *2016-05-13 20:32:28*

**move to jgitver 0.1.0, enhance documentation**


[8122019f4631244](https://github.com/jgitver/gradle-jgitver-plugin/commit/8122019f4631244) Matthieu Brouillard *2016-05-13 20:25:39*

**enhance README with an example from jgitver**


[3bf9763f805dc97](https://github.com/jgitver/gradle-jgitver-plugin/commit/3bf9763f805dc97) Matthieu Brouillard *2016-04-27 15:15:49*


## v0.0.1
### No issue

**prepare for release 0.0.1**


[edf1a99ce0ca183](https://github.com/jgitver/gradle-jgitver-plugin/commit/edf1a99ce0ca183) Matthieu Brouillard *2016-04-27 14:57:13*


18 changes: 17 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.se.bjurr.gitchangelog:git-changelog-gradle-plugin:1.50"
}
}

plugins {
id "com.gradle.plugin-publish" version "0.9.4"
id "fr.brouillard.oss.gradle.jgitver" version "0.2.0"
}

apply plugin: 'java'
apply plugin: 'maven' // for local tests
apply plugin: 'se.bjurr.gitchangelog.git-changelog-gradle-plugin'

group = 'fr.brouillard.oss.gradle'

Expand All @@ -29,5 +41,9 @@ pluginBundle {

dependencies {
compile gradleApi()
compile 'fr.brouillard.oss:jgitver:0.4.0'
compile "fr.brouillard.oss:jgitver:0.4.0"
}

task changelog(type: se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask) {
file = new File("CHANGELOG.md");
}
32 changes: 32 additions & 0 deletions changelog.mustache
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# jgitver gradle plugin

Changelog of [jgitver gradle plugin](https://github.com/jgitver/gradle-jgitver-plugin)

{{#tags}}
## {{name}}
{{#issues}}
{{#hasIssue}}
{{#hasLink}}
### {{name}} [{{issue}}]({{link}}) {{title}}
{{/hasLink}}
{{^hasLink}}
### {{name}} {{issue}} {{title}}
{{/hasLink}}
{{/hasIssue}}
{{^hasIssue}}
### {{name}}
{{/hasIssue}}

{{#commits}}
**{{{messageTitle}}}**

{{#messageBodyItems}}
* {{.}}
{{/messageBodyItems}}

[{{hash}}](https://github.com/jgitver/gradle-jgitver-plugin/commit/{{hash}}) {{authorName}} *{{commitTime}}*

{{/commits}}

{{/issues}}
{{/tags}}

0 comments on commit 8bc4072

Please sign in to comment.