Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
isochrone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Institut für Informatik
dbis
dbis-isochrone
isochrone
Commits
6c660b2e
Commit
6c660b2e
authored
10 years ago
by
User expired
Browse files
Options
Downloads
Patches
Plain Diff
added changelog2git task
parent
9ce77777
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build.gradle
+9
-1
9 additions, 1 deletion
build.gradle
with
9 additions
and
1 deletion
build.gradle
+
9
−
1
View file @
6c660b2e
...
@@ -11,6 +11,7 @@ apply plugin: 'wrapper'
...
@@ -11,6 +11,7 @@ apply plugin: 'wrapper'
apply
plugin:
'org.asciidoctor.gradle.asciidoctor'
apply
plugin:
'org.asciidoctor.gradle.asciidoctor'
import
org.ajoberstar.grgit.*
import
org.apache.tools.ant.filters.FixCrLfFilter
import
org.apache.tools.ant.filters.FixCrLfFilter
import
org.apache.tools.ant.filters.ReplaceTokens
import
org.apache.tools.ant.filters.ReplaceTokens
...
@@ -144,6 +145,7 @@ buildscript {
...
@@ -144,6 +145,7 @@ buildscript {
dependencies
{
dependencies
{
classpath
'org.gradle.api.plugins:gradle-vagrant-plugin:+'
classpath
'org.gradle.api.plugins:gradle-vagrant-plugin:+'
classpath
'org.ajoberstar:gradle-git:+'
// hard-coded asciidoctor plugin version... for more detail see: https://github.com/asciidoctor/asciidoctor-gradle-plugin/issues/84
// hard-coded asciidoctor plugin version... for more detail see: https://github.com/asciidoctor/asciidoctor-gradle-plugin/issues/84
classpath
'org.asciidoctor:asciidoctor-gradle-plugin:0.7.1'
classpath
'org.asciidoctor:asciidoctor-gradle-plugin:0.7.1'
}
}
...
@@ -315,6 +317,11 @@ task changelog << {
...
@@ -315,6 +317,11 @@ task changelog << {
}
}
}
}
task
changelog2Git
<<
{
def
grgit
=
Grgit
.
open
(
project
.
file
(
'.'
))
grgit
.
add
(
patterns:
[
'CHANGELOG.md'
])
}
task
cleanAfterDaily
(
type:
Delete
)
{
task
cleanAfterDaily
(
type:
Delete
)
{
delete
"$buildDir/dependency-cache"
delete
"$buildDir/dependency-cache"
delete
"$buildDir/tmp"
delete
"$buildDir/tmp"
...
@@ -410,11 +417,12 @@ task vagrantPrepare << {
...
@@ -410,11 +417,12 @@ task vagrantPrepare << {
task
jarAll
(
dependsOn:
[
jar
,
javadocJar
,
sourcesJar
,
staticJar
,
testJar
])
task
jarAll
(
dependsOn:
[
jar
,
javadocJar
,
sourcesJar
,
staticJar
,
testJar
])
task
buildAll
(
dependsOn:
[
jarAll
,
build
])
task
buildAll
(
dependsOn:
[
jarAll
,
build
])
task
daily
(
dependsOn:
[
clean
,
asciidoctor
,
changelog
,
check
,
javadoc
,
jarAll
])
task
daily
(
dependsOn:
[
clean
,
asciidoctor
,
changelog
2Git
,
check
,
javadoc
,
jarAll
])
task
release
task
release
// task dependencies
// task dependencies
tasks
.
changelog2Git
.
dependsOn
changelog
tasks
.
cleanAfterDaily
.
dependsOn
cleanNodeModules
tasks
.
cleanAfterDaily
.
dependsOn
cleanNodeModules
tasks
.
daily
.
finalizedBy
cleanAfterDaily
tasks
.
daily
.
finalizedBy
cleanAfterDaily
tasks
.
daily
.
mustRunAfter
clean
tasks
.
daily
.
mustRunAfter
clean
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment