Skip to content

Commit

Permalink
Update build.gradle to improve release mode handling and script versi…
Browse files Browse the repository at this point in the history
…on management
  • Loading branch information
raikbitters committed Dec 19, 2024
1 parent 3dfb9d8 commit 66ecf8a
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ plugins {
}

project.ext {
releaseMode = project.hasProperty("releaseMode")
releaseMode = project.hasProperty("releaseMode") ? project.releaseMode.toBoolean() : false
publishRepo = "https://maven.pkg.github.com/reportportal/commons"
dependencyRepos = ["commons-bom"]
scriptVersion = project.hasProperty("scripts.version") ? project.scriptVersion : "develop"
}

def scriptsUrl = 'https://raw.githubusercontent.com/reportportal/gradle-scripts/' +
(releaseMode ? getProperty('scripts.version') : 'develop')
def scriptsUrl = 'https://raw.githubusercontent.com/reportportal/gradle-scripts/' + scriptVersion

apply from: scriptsUrl + '/release-commons.gradle'
apply from: scriptsUrl + '/signing.gradle'
Expand Down Expand Up @@ -73,10 +73,6 @@ dependencies {
testImplementation "org.glassfish:javax.el:${elApiVersion}"
}

wrapper {
gradleVersion = '8.10'
}

tasks.preTagCommit.enabled = false
tasks.updateVersion.enabled = false
tasks.commitNewVersion.enabled = false

0 comments on commit 66ecf8a

Please sign in to comment.