Skip to content

Commit

Permalink
chore: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasbjerre committed Nov 9, 2024
1 parent 7e36cfb commit 7a65f0b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 22 deletions.
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,12 @@ It adds these tasks:
- `./gradlew showUpdateableDependencies` - Print list of dependencies that can be updated.
- `./gradlew updateDependencies` - Update dependencies that can be updated.

It can be tweaked with `updateVersions { /* config here */ }`:
It can be tweaked:

```groovy
// ---- default config ----
interface UpdateVersionsPluginExtension {
Property<String> getIgnoreDependenciesRegexp()
updateVersions {
ignoreDependenciesRegexp.set("anything matching this regexp will be ignored")
}
def extension = project.extensions.create("updateVersions", UpdateVersionsPluginExtension)
extension.ignoreDependenciesRegexp.convention("")
// ---- default config ----
```

Works great with https://github.com/tomasbjerre/conventional-release-gradle-plugin
12 changes: 0 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,3 @@ spotless {
}

processResources.dependsOn spotlessApply

/**
* Update README with config
*/
def defaultConfig = file('src/main/groovy/se.bjurr.gradle.update-versions.gradle')
.text
.takeBetween('// ---- default config ----')
.stripIndent()
def newReadme = file('README.md')
.text
.replaceAll("(?s)(.*// ---- default config ----).*(// ---- default config ----.*)", "\$1$defaultConfig\$2")
file('README.md').write(newReadme)
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#
#Sat Nov 09 15:23:49 CET 2024
#Sat Nov 09 15:47:50 CET 2024
adjustExistingGradlePluginPlugins=true
description=Find dependencies that can be updated and task that updates them.
group=se.bjurr.gradle
publishGradlePluginToGradlePortal=false
repoType=GRADLE
tags=dependencymanagement
version=0.3.4
version=0.3.5

0 comments on commit 7a65f0b

Please sign in to comment.