diff --git a/build.gradle b/build.gradle index 5bc06e9..4554e1e 100644 --- a/build.gradle +++ b/build.gradle @@ -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 {