Permalink
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
shib-idp-ui/build.gradle
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
37 lines (31 sloc)
1.02 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'base' | |
id 'net.researchgate.release' version '3.0.0' | |
id 'com.github.breadmoirai.github-release' version '2.2.9' | |
} | |
subprojects { | |
tasks.withType(Test) { | |
maxHeapSize = "3g" | |
} | |
} | |
// tasks.findByName('release').dependsOn project.getTasksByName('test', true) | |
githubRelease { | |
token project.'i2.github.token' | |
owner project.'i2.github.owner' | |
repo project.'i2.github.repo' | |
releaseAssets project('backend').getTasksByName('bootWar', false).outputs | |
overwrite true | |
apiEndpoint project.'i2.github.apiEndpoint' | |
} | |
release { | |
git { | |
pushToRemote.set(project.'i2.git.remote') | |
requireBranch.set(project.'i2.git.branch') | |
} | |
} | |
// Update and run this to update the gradle-wrapper.jar and gradle-wrapper.properties file in the project | |
task gv76(type: Wrapper) { | |
gradleVersion = '7.6' // current as of 1-23-23 | |
} | |
afterReleaseBuild.dependsOn project.getTasksByName('githubRelease', false) | |
afterReleaseBuild.dependsOn project.getTasksByName('dockerTagsPush', true) |