Skip to content
This repository has been archived by the owner on Dec 20, 2021. It is now read-only.

Commit

Permalink
Added bobcat.version as param to make testing different versions easier
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrzyzanowski committed Jul 22, 2019
1 parent 147ab7b commit fd7bdd5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions aem64sp2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ apply plugin: 'io.qameta.allure'

sourceCompatibility = 1.8

def bobcatVersion = "2.0.4"
def bobcatVersion = System.getProperty("bobcat.version", "2.1.0")

repositories {
mavenLocal()
Expand All @@ -32,13 +32,13 @@ dependencies {
}

def profiles = [
'firefox' : 'firefox'
'firefox': 'firefox'
]

task loadProperties {
System.setProperty("bobcat.config","yaml");
def profile = System.getProperty('profile','default')
if(!profile.equals('default')) {
System.setProperty("bobcat.config", "yaml");
def profile = System.getProperty('profile', 'default')
if (!profile.equals('default')) {
System.setProperty("bobcat.config.contexts", profiles[profile])
}
}
Expand Down

0 comments on commit fd7bdd5

Please sign in to comment.