gradle-pullrequest-builder

Gradle plugin to commit, push local files xand create pull request on github

Лицензия

Лицензия

Категории

Категории

Gradle Компиляция и сборка
Группа

Группа

de.jodamob.gradle
Идентификатор

Идентификатор

gradle-pullrequest-builder
Последняя версия

Последняя версия

1.0.RC2
Дата

Дата

Тип

Тип

jar
Описание

Описание

gradle-pullrequest-builder
Gradle plugin to commit, push local files xand create pull request on github
Ссылка на сайт

Ссылка на сайт

https://github.com/dpreussler/gradle-pullrequest-builder
Система контроля версий

Система контроля версий

https://github.com/dpreussler/gradle-pullrequest-builder.git

Скачать gradle-pullrequest-builder

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/de.jodamob.gradle/gradle-pullrequest-builder/ -->
<dependency>
    <groupId>de.jodamob.gradle</groupId>
    <artifactId>gradle-pullrequest-builder</artifactId>
    <version>1.0.RC2</version>
</dependency>
// https://jarcasting.com/artifacts/de.jodamob.gradle/gradle-pullrequest-builder/
implementation 'de.jodamob.gradle:gradle-pullrequest-builder:1.0.RC2'
// https://jarcasting.com/artifacts/de.jodamob.gradle/gradle-pullrequest-builder/
implementation ("de.jodamob.gradle:gradle-pullrequest-builder:1.0.RC2")
'de.jodamob.gradle:gradle-pullrequest-builder:jar:1.0.RC2'
<dependency org="de.jodamob.gradle" name="gradle-pullrequest-builder" rev="1.0.RC2">
  <artifact name="gradle-pullrequest-builder" type="jar" />
</dependency>
@Grapes(
@Grab(group='de.jodamob.gradle', module='gradle-pullrequest-builder', version='1.0.RC2')
)
libraryDependencies += "de.jodamob.gradle" % "gradle-pullrequest-builder" % "1.0.RC2"
[de.jodamob.gradle/gradle-pullrequest-builder "1.0.RC2"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
com.github.kittinunf.fuel : fuel jar 1.4.0

Модули Проекта

Данный проект не имеет модулей.

gradle-pullrequest-builder

Travis

Purpose

An Github Pull Request builder. Commits unchanged files to Git (local git installation needed) and creates Pull request. Meant as part of CI jobs that need to change code.

Applying the Plugin

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.de.jodamob.gradle:gradle-pullrequest-builder:1.0.RC1"
  }
}

apply plugin: "de.jodamob.gradle.github"

Configuration

gitPullRequest {
    // where to publish to (repo must exist)
    githubUri = 'https://github.com/dpreussler/gradle-pullrequest-builder'

    // github user name to use
    user = 'dpreussler'

    // github password or better access token
    accessToken = '12345678901234567890'

    // the name the branch should start with (will be added by timestamp to avoid collisions)
    branchSuffix = 'TICKET-1234_automatic'

    // the target branch to send pull request to
    master = 'develop'

    // optional, the folder to commit all new or changed files from (default=src)
    source = 'app/src'

    // optional, the title of the pull request
    title = 'TICKET-1234: automatic pull request'

    // optional, the message of the commit
    message = 'TICKET-1234: automatic pull request'

}

Tasks and Execution

Generally, you'll just run gitPullRequest

  • gitPullRequest - runs 'gitCommit' and then creates Pull Request
  • gitCommit - commits and pushes

Licensed under MIT license (c) 2017 Danny Preussler

Версии библиотеки

Версия
1.0.RC2
1.0.RC1