All Projects → hellofresh → deblibs-gradle-plugin

hellofresh / deblibs-gradle-plugin

Licence: Apache-2.0 license
A Gradle plugin that creates Github issue and Slack message for outdated dependencies so they can easily be tracked and manually upgraded.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to deblibs-gradle-plugin

Jgitver Maven Plugin
maven core extension to automatically define versions using jgitver & git tags
Stars: ✭ 117 (+60.27%)
Mutual labels:  maven, versioning
Cols Agent Tasks
Colin's ALM Corner Custom Build Tasks
Stars: ✭ 70 (-4.11%)
Mutual labels:  build, versioning
Maven Git Versioning Extension
This extension will virtually set project versions, based on current git branch or tag.
Stars: ✭ 178 (+143.84%)
Mutual labels:  maven, versioning
gradle-git-versioning-plugin
This extension will set project version, based on current Git branch or tag.
Stars: ✭ 44 (-39.73%)
Mutual labels:  maven, versioning
minver
What are the minimum dependencies for your package?
Stars: ✭ 18 (-75.34%)
Mutual labels:  versioning, dependencies
Dependency spy
Find known vulnerabilities in your dependencies
Stars: ✭ 87 (+19.18%)
Mutual labels:  maven, dependencies
Grabver
Gradle Automatic Build Versioning Plugin - An easy Gradle plugin that follows semver.org rules to automatically generate the Patch version, Build number and Code version, while Major, Minor and Pre-Release suffix remain under our control.
Stars: ✭ 39 (-46.58%)
Mutual labels:  build, versioning
Scala Steward
🤖 A bot that helps you keep your Scala projects up-to-date
Stars: ✭ 812 (+1012.33%)
Mutual labels:  maven, dependencies
yavdb
Yet Another Vulnerability Database
Stars: ✭ 14 (-80.82%)
Mutual labels:  maven, dependencies
Spring Cloud Build
Common build concerns, shared plugin configuration, etc. for Spring Cloud modules
Stars: ✭ 114 (+56.16%)
Mutual labels:  build, maven
Dephell
📦 🔥 Python project management. Manage packages: convert between formats, lock, install, resolve, isolate, test, build graph, show outdated, audit. Manage venvs, build package, bump version.
Stars: ✭ 1,730 (+2269.86%)
Mutual labels:  versioning, dependencies
Android-Dependencies
Project wide handling of tested and used libraries. Also including some utility gradle tasks.
Stars: ✭ 14 (-80.82%)
Mutual labels:  versioning, dependencies
gradle-upgrade-interactive
CLI to interactively upgrade gradle dependencies, inspired by yarn.
Stars: ✭ 44 (-39.73%)
Mutual labels:  build, upgrade
Rebar3
Erlang build tool that makes it easy to compile and test Erlang applications and releases.
Stars: ✭ 1,295 (+1673.97%)
Mutual labels:  build, dependencies
tag
tagging apps with immutable intel
Stars: ✭ 23 (-68.49%)
Mutual labels:  build, maven
versioce
Version bumping and changelog generation for your mix project
Stars: ✭ 19 (-73.97%)
Mutual labels:  versions, versioning
vue-js-3-firebase-firestore
Vue 3 Firebase Tutorial: Build Firestore CRUD Web Application
Stars: ✭ 34 (-53.42%)
Mutual labels:  build
unity-test-runner
Run tests for any Unity project
Stars: ✭ 134 (+83.56%)
Mutual labels:  build
onix
A reactive configuration manager designed to support Infrastructure as a Code provisioning, and bi-directional configuration management providing a single source of truth across multi-cloud environments.
Stars: ✭ 89 (+21.92%)
Mutual labels:  dependencies
aspnet-api-versioning
Provides a set of libraries which add service API versioning to ASP.NET Web API, OData with ASP.NET Web API, and ASP.NET Core.
Stars: ✭ 2,396 (+3182.19%)
Mutual labels:  versioning

Build Status Gradle Plugin Portal

Deprecated

The plugin support has stopped. There will be no new updates, but latest published version will be available as a dependency. Please consider migrating to https://github.com/ben-manes/gradle-versions-plugin

DebLibs

A Gradle plugin that creates Github issue and Slack message for outdated project dependencies so they can easily be tracked and manually upgraded.

This plugin builds on the Gradle Versions Plugin.

Screenshots

Sample Github Issue

Alt text

Sample Slack Issue

Alt text

Usage

plugins block:

Build script snippet for plugins DSL for Gradle 2.1 and later:

plugins {
  id "com.hellofresh.gradle.deblibs" version "$version"
}

Build script snippet for use in older Gradle versions or where dynamic configuration is required:

buildscript block:

apply plugin: "com.hellofresh.gradle.deblibs"

buildscript {

  repositories {
    maven { url "https://plugins.gradle.org/m2/"}
  }

  dependencies {
    classpath "com.hellofresh.gradle:deblibs:$version"
  }

}

The plugin show work with Gradle version 4.9 and above.

Configuration

The following configuration block is required.

If you don't configure the default will be used which are blank values. This will lead to undesirable behaviour which means info about outdated dependencies won't be uploaded.

deblibs {
   projectName ="Project name"
   githubRepo = "project-github-repo"
   githubToken = "github-token"
   slackToken = "slack-token"
   slackChannel = "#slack-channel"
   slackIconUrl = "url-to-an-icon-to-be-used-by-the-slack-bot"
   gitlabToken = "gitlab-personal-access-token"
   gitlabProjectId = "gitlab-project-id"    
}

Tasks

The plugin comes with two tasks. A task for publishing info about outdated dependencies to Github as an issue. This is useful when you want to track outdated dependencies as an issue on Github.

The second task is for publishing info about outdated dependencies to a Slack channel as a message. This is also useful when you want to post outdated dependencies to slack.

To create a Github issue, issue the command:

./gradlew createGithubIssue

To post to Slack, issue the command:

./gradlew createSlackMessage

To create a Gitlab issue, issue the command:

./gradlew createGitlabIssue

Development

Import

Import the settings.gradle.kts file into your IDE for development. Works well with IntelliJ Community edition or IntelliJ Ultimate compared to say Android studio.

Build

Build the plugin with: ./gradlew build

Publish to a local maven repository for testing with: ./gradlew publishToMavenLocal

Test

Change into the sample-deblibs project and issue any of the plugin tasks that you want to test.

Link

Deblibs Gradle Plugin on the Gradle Plugin Registry

License

Copyright (C) 2018 The DebLibs Authors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].