Skip to content

Commit

Permalink
Workaround errant missing license error
Browse files Browse the repository at this point in the history
  • Loading branch information
chadlwilson committed Apr 28, 2023
1 parent 7e41985 commit 23d600a
Showing 1 changed file with 24 additions and 18 deletions.
42 changes: 24 additions & 18 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,30 @@ apply plugin: 'java'
apply from: "https://raw.githubusercontent.com/gocd/gocd-plugin-gradle-task-helpers/master/helper.gradle?_=${(int) (new Date().toInstant().epochSecond / 60)}"

gocdPlugin {
id = 'cd.go.authorization.github'
pluginVersion = '3.3.1'
goCdVersion = '20.9.0'
name = 'GitHub OAuth authorization plugin'
description = 'GitHub OAuth authorization plugin for GoCD'
vendorName = 'Thoughtworks, Inc.'
vendorUrl = 'https://github.com/gocd-contrib/github-oauth-authorization-plugin'

githubRepo {
owner = System.getenv('GITHUB_USER') ?: 'bob'
repo = 'github-oauth-authorization-plugin'
token = System.getenv('GITHUB_TOKEN') ?: 'bad-token'
}

pluginProject = project

prerelease = !"No".equalsIgnoreCase(System.getenv('PRERELEASE'))
assetsToRelease = [project.tasks.jar]
id = 'cd.go.authorization.github'
pluginVersion = '3.3.1'
goCdVersion = '20.9.0'
name = 'GitHub OAuth authorization plugin'
description = 'GitHub OAuth authorization plugin for GoCD'
vendorName = 'Thoughtworks, Inc.'
vendorUrl = 'https://github.com/gocd-contrib/github-oauth-authorization-plugin'

githubRepo {
owner = System.getenv('GITHUB_USER') ?: 'bob'
repo = 'github-oauth-authorization-plugin'
token = System.getenv('GITHUB_TOKEN') ?: 'bad-token'
}

pluginProject = project

prerelease = !"No".equalsIgnoreCase(System.getenv('PRERELEASE'))
assetsToRelease = [project.tasks.jar]

licenseReport {
excludes = [
'com.squareup.okio:okio' // Seems to not be able to resolve license, not sure if POM issue or jk1-license-report issue. Maybe due to no jar?
]
}
}

group = 'cd.go'
Expand Down

0 comments on commit 23d600a

Please sign in to comment.