Skip to content

Commit

Permalink
Merge pull request #2 from binxhealth/mwarner/publish-package
Browse files Browse the repository at this point in the history
setup publishing to GPR
  • Loading branch information
mauracwarner authored Oct 16, 2019
2 parents 4a862b4 + af88e1d commit 5150f90
Showing 1 changed file with 10 additions and 21 deletions.
31 changes: 10 additions & 21 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,28 +63,17 @@ task wrapper(type: Wrapper) {
gradleVersion = gradleWrapperVersion
}

grailsPublish {
user = System.getProperty("BINTRAY_USER")
key = System.getProperty("BINTRAY_KEY")
githubSlug = 'grails-plugins/grails-spring-security-oauth2'
license {
name = 'Apache-2.0'
publishing {
repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/binxhealth/grails-spring-security-oauth2"
credentials {
username "${System.getenv('GPR_USER') ?: gprUser}"
password "${System.getenv('GPR_API_TOKEN') ?: gprApiToken}"
}
}
}
title = "Spring Security OAuth2"
desc = """
This plugin provides the capability to authenticate via oauth in Grails 3.3+. Depends on grails-spring-security-core.
Grails 3.3+: Use 1.3+
Grails 3.0-3.2: Use v1.2.x
Start v1.2.x as of fork to grails-plugins organization (This includes 1.1.1 which was not fully release previously.
"""
developers = [
MatrixCrawler: "Johannes Brunswicker",
aitmanas: "aitmanas",
rvanderwerf: "Ryan Vanderwerf"
]
userOrg = 'grails'
}

assets {
Expand Down

0 comments on commit 5150f90

Please sign in to comment.