Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Repository files navigation

atlas-github

Gradle Plugin IDBuild StatusCoveralls StatusApache 2.0GitHub tagGitHub release

This plugin provides tasks and conventions to publish artifacts to github with the help of github-api.kohsuke.org.

Applying the plugin

build.gradle

plugins {
id 'net.wooga.github' version '1.2.0'
}

Usage

build.gradle

plugins {
id "net.wooga.github" version "1.2.0"
}
github {
userName ="wooga"
password ="a password."
token ="a github access token"
repositoryName "wooga/atlas-github"
baseUrl =null
}
githubPublish {
userName ="wooga"
password ="a password."
token ="a github access token"
repositoryName ="wooga/atlas-github"
baseUrl =null
targetCommitish ="master"
tagName = project.version
releaseName = project.version
body =null
prerelease =false
draft =false//copySpec values
from() {
into
}
}

Documentation

Gradle and Java Compatibility

Built with Oracle JDK7 Tested with Oracle JDK8

Gradle VersionWorks
< 5.0no
5.0yes
5.1yes
5.2yes
5.3yes
5.4yes
5.5yes
5.6yes
5.6yes
6.0yes
6.1yes
6.2yes
6.3yes
6.4yes
6.5yes
6.6yes
6.6yes
6.7yes
6.8yes
6.9yes
7.0yes

Development

Running the tests

The integration tests will access github with a botUser which credentials needs to be provided via environment variables.

NameDescription
ATLAS_GITHUB_INTEGRATION_USERThe username for of the BotUser. The name will also be used for the test repository.
ATLAS_GITHUB_INTEGRATION_PASSWORDA password for the gihub user or acces token.

If the value of ATLAS_GITHUB_INTEGRATION_PASSWORD is a access token, it needs the scopes: delete_repo, repo see github-oauth-scopes for more information.

Code of Conduct

LICENSE

Copyright 2017 Wooga GmbH

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.

About

Gradle plugin to publish artifacts to github

Topics

Resources

Code of conduct

Contributing

Stars

1 star

Watchers

15 watching

Forks

Releases

Packages

Contributors

Languages