Skip to content
Permalink
da642243fc
Switch branches/tags

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?
Go to file
 
 
Cannot retrieve contributors at this time
37 lines (31 sloc) 1.02 KB
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)