Skip to content

Commit

Permalink
upgrade to gradle plugins 0.14.0 (#8062)
Browse files Browse the repository at this point in the history
  • Loading branch information
colesnodgrass committed Jul 27, 2023
1 parent 8e03a5a commit b070ae1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions airbyte-featureflag/src/test/kotlin/ClientTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -409,21 +409,21 @@ class InjectTest {
@Test
fun `ConfigFileClient loads if no client property defined`() {
assertTrue { featureFlagClient is ConfigFileClient }
assertTrue { featureFlagClient?.boolVariation(flag, context) ?: false }
assertTrue { featureFlagClient.boolVariation(flag, context) ?: false }
}

@Property(name = CONFIG_FF_CLIENT, value = "")
@Test
fun `ConfigFileClient loads if client property is empty`() {
assertTrue { featureFlagClient is ConfigFileClient }
assertTrue { featureFlagClient?.boolVariation(flag, context) ?: false }
assertTrue { featureFlagClient.boolVariation(flag, context) ?: false }
}

@Property(name = CONFIG_FF_CLIENT, value = "not-launchdarkly")
@Test
fun `ConfigFileClient loads if client property is not ${CONFIG_FF_CLIENT_VAL_LAUNCHDARKLY}`() {
assertTrue { featureFlagClient is ConfigFileClient }
assertTrue { featureFlagClient?.boolVariation(flag, context) ?: false }
assertTrue { featureFlagClient.boolVariation(flag, context) ?: false }
}

@Property(name = CONFIG_FF_CLIENT, value = CONFIG_FF_CLIENT_VAL_LAUNCHDARKLY)
Expand All @@ -432,7 +432,7 @@ class InjectTest {
every { ldClient.boolVariation(flag.key, any<LDContext>(), flag.default) } returns flag.default

assertTrue { featureFlagClient is LaunchDarklyClient }
assertTrue { featureFlagClient?.boolVariation(flag, context) ?: false }
assertTrue { featureFlagClient.boolVariation(flag, context) ?: false }
}
}

Expand Down
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ buildscript {

plugins {
id "base"
id "io.airbyte.gradle.jvm" version "0.13.0" apply false
id "io.airbyte.gradle.jvm.app" version "0.13.0" apply false
id "io.airbyte.gradle.jvm.lib" version "0.13.0" apply false
id "io.airbyte.gradle.docker" version "0.13.0" apply false
id "io.airbyte.gradle.publish" version "0.13.0" apply false
id "io.airbyte.gradle.jvm" version "0.14.0" apply false
id "io.airbyte.gradle.jvm.app" version "0.14.0" apply false
id "io.airbyte.gradle.jvm.lib" version "0.14.0" apply false
id "io.airbyte.gradle.docker" version "0.14.0" apply false
id "io.airbyte.gradle.publish" version "0.14.0" apply false
}

repositories {
Expand Down

0 comments on commit b070ae1

Please sign in to comment.